Users¶
-
users.
friends
(server_url, *args, **kwargs)¶ Returns a collection of user objects for users followed by the specified user.
Accepts the same parameters as
requests.get()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/users.html#get–api-statuses-friends.json
Parameters: server_url (str) – URL of the server Return type: list Returns: a list of user dicts
-
users.
followers
(server_url, *args, **kwargs)¶ Unsubscribe to status updates from specified user.
Accepts the same parameters as
requests.get()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/users.html#get–api-statuses-followers.json
Parameters: server_url (str) – URL of the server Return type: list Returns: a list of user dicts
-
users.
show
(server_url, *args, **kwargs)¶ Returns detailed information about the specified user.
Accepts the same parameters as
requests.get()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/users.html#get–api-users-show.json
Parameters: server_url (str) – URL of the server Return type: dict Returns: User dict
-
users.
friends_ids
(server_url, *args, **kwargs)¶ Returns IDs of users the auntenticated or specified user is following (otherwise known as their “friends”).
Accepts the same parameters as
requests.get()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/users.html#get–api-friends-ids.json
Parameters: server_url (str) – URL of the server Return type: list Returns: a list of user IDs
-
users.
followers_ids
(server_url, *args, **kwargs)¶ Returns IDs of users the auntenticated or specified user is followed by.
Accepts the same parameters as
requests.get()
excepturl
.Implements https://twitter-api.readthedocs.io/en/latest/users.html#get–api-followers-ids.json
Parameters: server_url (str) – URL of the server Return type: list Returns: a list of user IDs