Parameters: None
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.home_timeline([since_id], [max_id], [count], [page])
Parameters: *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.friends_timeline([since_id], [max_id], [count], [page])
Parameters: *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.user_timeline([id/user_id/screen_name], [since_id], [max_id], [count], [page])
Parameters: *id* or *user_id* or *screen_name*, *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.mentions([since_id], [max_id], [count], [page])
Parameters: *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.retweeted_by_me([since_id], [max_id], [count], [page])
Parameters: *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.retweeted_to_me([since_id], [max_id], [count], [page])
Parameters: *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.retweets_of_me
Parameters: *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
Status methods
Parameters: *id* (Required)
-Returns: class:`Status` object
+Returns: :class:`Status` object
.. method:: API.update_status(status, [in_reply_to_status_id], [lat], [long])
Parameters: *status* (Required), *in_reply_to_status_id*, *lat*, *long*
- Returns: class:`Status` object
+ Returns: :class:`Status` object
.. method:: API.destroy_status(id)
Parameters: *id* (Required)
- Returns: class:`Status` object
+ Returns: :class:`Status` object
.. method:: API.retweet(id)
Parameters: *id* (Required)
- Returns: class:`Status` object
+ Returns: :class:`Status` object
.. method:: API.retweets(id)
Parameters: *id* (Required), count
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
User methods
Parameters: *id* OR screen_name OR id (One of these is Required)
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.me()
Parameters: *id* OR *screen_name* OR *user_id*, *cursor*
- Returns: list of class:`User` objects
+ Returns: list of :class:`User` objects
.. method:: API.followers([id/screen_name/user_id], [cursor])
Parameters: *q* (Required. The query.), *per_page*, *page*
- Returns: list of class:`User` objects
+ Returns: list of :class:`User` objects
Direct Message Methods
Parameters: *user* (Required), *text* (Required)
- Returns: class:`DirectMessage` object
+ Returns: :class:`DirectMessage` object
.. method:: API.destroy_direct_message(id)
Parameters: *id* (Required)
- Returns: class:`DirectMessage` object
+ Returns: :class:`DirectMessage` object
Friendship Methods
Parameters: None
- Returns: class:`User` object if credentials are valid, otherwise False
+ Returns: :class:`User` object if credentials are valid, otherwise False
.. method:: API.rate_limit_status()
Parameters: None
- Returns: class:`JSON` object
+ Returns: :class:`JSON` object
.. method:: API.set_delivery_device(device)
Parameters: *device* (Required. Valid values: sms OR none)
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.update_profile_colors([profile_background_color], [profile_text_color], [profile_link_color], [profile_sidebar_fill_color], [profile_sidebar_border_color])
Parameters: *profile_background_color*, *profile_text_color*, *profile_link_color*, *profile_sidebar_fill_color*, *profile_sidebar_border_color*
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.update_profile_image(filename)
Parameters: filename (Path to image file. Required)
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.update_profile_background_image(filename)
Parameters: filename (Path to image file. Required), tile
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.update_profile([name], [url], [location], [description])
Parameters: *name*, *url*, *location*, *description*
- Returns: class:`User` object
+ Returns: :class:`User` object
Favorite Methods
Parameters: *id*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.create_favorite(id)
Parameters: *id* (Required)
- Returns: class:`Status` object
+ Returns: :class:`Status` object
.. method:: API.destroy_favorite(id)
Parameters: *id* (Required)
- Returns: class:`Status` object
+ Returns: :class:`Status` object
Notification Methods
Parameters: *id* OR *screen_name* OR *user_id* (One of these is required)
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.disable_notifications(id/screen_name/user_id)
Parameters: *id* OR *screen_name* OR *user_id* (One of these is required)
- Returns: class:`User` object
+ Returns: :class:`User` object
Block Methods
Parameters: *id* OR *screen_name* OR *user_id* (One of these is required)
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.destroy_block(id/screen_name/user_id)
Parameters: *id* OR *screen_name* OR *user_id* (One of these is required)
- Returns: class:`User` object
+ Returns: :class:`User` object
.. method:: API.exists_block(id/screen_name/user_id)
Parameters: page
- Returns: list of class:`User` objects
+ Returns: list of :class:`User` objects
.. method:: API.blocks_ids
Parameters: *id* OR *screen_name* OR *user_id* (One of these is required)
- Returns: class:`User` object
+ Returns: :class:`User` object
Saved Searches Methods
Parameters: None
- Returns: list of class:`SavedSearch` objects
+ Returns: list of :class:`SavedSearch` objects
.. method:: API.get_saved_search(id)
Parameters: *id* (Required)
- Returns: class:`SavedSearch` object
+ Returns: :class:`SavedSearch` object
.. method:: API.create_saved_search(query)
Parameters: *query* (Required)
- Returns: class:`SavedSearch` object
+ Returns: :class:`SavedSearch` object
.. method:: API.destroy_saved_search(id)
Parameters: *id* (Required)
- Returns: class:`SavedSearch` object
+ Returns: :class:`SavedSearch` object
Help Methods
Parameters: q (Required. The search query string.), lang, locale, rpp, page, since_id, geocode, show_user
- Returns: list of class:`SearchResult` objects
+ Returns: list of :class:`SearchResult` objects
.. method:: API.trends()
Parameters: None
- Returns: class:`JSON` object
+ Returns: :class:`JSON` object
.. method:: API.trends_current([exclude])
Parameters: *exclude*
- Returns: class:`JSON` object
+ Returns: :class:`JSON` object
.. method:: API.trends_daily([date], [exclude])
Parameters: *date*, *exclude*
- Returns: class:`JSON` object
+ Returns: :class:`JSON` object
.. method:: API.trends_weekly([date], [exclude])
Parameters: *date*, *exclude*
- Returns: class:`JSON` object
+ Returns: :class:`JSON` object
List Methods
Parameters: *name* (Required), *mode* (public/private default: public)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.destroy_list(slug)
Parameters: *slug* (Required. May also be the list ID.)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.update_list(slug, [name], [mode])
Parameters: *slug* (Required. May also be the list ID.), *name*, *mode* (public/private)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.lists([cursor])
Parameters: *cursor*
- Returns: list of class:`List` objects
+ Returns: list of :class:`List` objects
.. method:: API.lists_memberships([cursor])
Parameters: *cursor*
- Returns: list of class:`List` objects
+ Returns: list of :class:`List` objects
.. method:: API.lists_subscriptions([cursor])
Parameters: *cursor*
- Returns: list of class:`List` objects
+ Returns: list of :class:`List` objects
.. method:: API.list_timeline(owner, slug, [since_id], [max_id], [count], [page])
Parameters: *owner* (Required.), *slug* (Required. May also be the list ID.), *since_id*, *max_id*, *count*, *page*
- Returns: list of class:`Status` objects
+ Returns: list of :class:`Status` objects
.. method:: API.get_list(owner, slug)
Parameters: *owner* (Required.), *slug* (Required. May also be the list ID.)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.add_list_member*slug, id)
Parameters: *slug* (Required. May also be the list ID.), *id* (Required. ID of user to add.)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.remove_list_member(slug, id)
Parameters: *slug* (Required. May also be the list ID.), *id* (Required. ID of user to remove.)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.list_members(owner, slug, cursor)
Parameters: *owner* (Required.), *slug* (Required. May also be list ID.), *cursor*
- Returns: list of class:`User` objects
+ Returns: list of :class:`User` objects
.. method:: API.is_list_member(owner, slug, id)
Check if a user is a member of the specified list.
- Parameters: *owner* (Required.), *slug* (Required. May also be list ID.), *id* (Required. class:`User` to check if subscribed to the list.)
+ Parameters: *owner* (Required.), *slug* (Required. May also be list ID.), *id* (Required. :class:`User` to check if subscribed to the list.)
- Returns: class:`User` object if user is a member of list, otherwise False.
+ Returns: :class:`User` object if user is a member of list, otherwise False.
.. method:: API.subscribe_list(owner, slug)
Parameters: *owner* (Required.), *slug* (Required. May also be list ID.)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.unsubscribe_list(owner, slug)
Parameters: *owner* (Required.), *slug* (Required. May also be list ID.)
- Returns: class:`List` object
+ Returns: :class:`List` object
.. method:: API.list_subscribers(owner, slug, [cursor])
Parameters: *owner* (Required.), *slug* (Required. May also be list ID.), *cursor*
- Returns: list of class:`User` objects
+ Returns: list of :class:`User` objects
.. method:: API.is_subscribed_list(owner, slug, id)
Check if the specified user is a subscriber of the specified list.
- Parameters: *owner* (Required.), *slug* (Required. May also be list ID.), *id* (Required. class:`User` to check if subscribed to the list.)
+ Parameters: *owner* (Required.), *slug* (Required. May also be list ID.), *id* (Required. :class:`User` to check if subscribed to the list.)
- Returns: class:`User` object if user is subscribed to the list, otherwise False.
+ Returns: :class:`User` object if user is subscribed to the list, otherwise False.