]> jfr.im git - z_archive/twitter.git/commitdiff
Update docs to reflect current Twitter API
authorHugo <redacted>
Mon, 9 Feb 2015 07:55:19 +0000 (09:55 +0200)
committerHugo <redacted>
Mon, 9 Feb 2015 07:55:19 +0000 (09:55 +0200)
https://dev.twitter.com/rest/reference/get/lists/members

Fixes #277.

[CI skip]

README

diff --git a/README b/README
index afb587c93215088ef2439d7e946daa1c46547f13..f1be25e6e934e0b002853018c2e03fd9e4fa3e5e 100644 (file)
--- a/README
+++ b/README
@@ -105,11 +105,11 @@ t.direct_messages.new(
     text="I think yer swell!")
 
 # Get the members of tamtar's list "Things That Are Rad"
-t._("tamtar")._("things-that-are-rad").members()
+t._("lists")._("members")(owner_screen_name="tamtar", slug="things-that-are-rad")
 
 # Note how the magic `_` method can be used to insert data
 # into the middle of a call. You can also use replacement:
-t.user.list.members(user="tamtar", list="things-that-are-rad")
+t.lists.members(owner_screen_name="tamtar", slug="things-that-are-rad")
 
 # An *optional* `_timeout` parameter can also be used for API
 # calls which take much more time than normal or twitter stops