Statuses¶
-
statuses.
update
(server_url, *args, **kwargs)¶ Updates the authenticating user’s current status.
Accepts the same parameters as
requests.post()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/statuses.html#post–api-statuses-update.json
Parameters: server_url (str) – URL of the server Return type: dict Returns: Status dict
-
statuses.
show
(server_url, status_id, *args, **kwargs)¶ Returns a specified status.
Accepts the same parameters as
requests.get()
excepturl
.Parameters: server_url (str) – URL of the server Return type: dict Returns: Status dict
-
statuses.
destroy
(server_url, status_id, *args, **kwargs)¶ Deletes the status specified by the required ID parameter. The authenticating user must be the author of the specified status. Returns the destroyed status if successful.
Accepts the same parameters as
requests.post()
excepturl
.Parameters: Return type: Returns:
-
statuses.
repeat
(server_url, status_id, *args, **kwargs)¶ Repeats a status. Returns the original status with repeat details embedded.
Accepts the same parameters as
requests.post()
excepturl
.Parameters: Return type: Returns:
-
statuses.
conversation
(server_url, conversation_id, *args, **kwargs)¶ Returns statuses that have been posted in the conversation
Accepts the same parameters as
requests.get()
excepturl
.Parameters: Return type: Returns: a list of status dicts
-
statuses.
favorite
(server_url, status_id, *args, **kwargs)¶ Favorites the status specified in the ID parameter as the authenticating user. Returns the liked status when successful.
Accepts the same parameters as
requests.post()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/favorites.html
Parameters: Return type: Returns:
-
statuses.
unfavorite
(server_url, status_id, *args, **kwargs)¶ - Unfavorites the status specified in the ID parameter as the authenticating user. Returns the unliked status when successful.
Accepts the same parameters as
requests.post()
excepturl
.Parameters: Return type: Returns:
-
statuses.
favorites
(server_url, *args, **kwargs)¶ Returns recent notices favorited by the authenticating or specified user.
Accepts the same parameters as
requests.get()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/favorites.html#get–api-favorites.json
Parameters: server_url (str) – URL of the server Return type: list Returns: a list of status dicts