Accounts¶
-
accounts.verify_credentials(server_url, *args, **kwargs)¶ Tests if supplied user credentials are valid.
Accepts the same parameters as
requests.get()excepturl.Implements https://twitter-api.readthedocs.io/en/latest/accounts.html#get–api-account-verify_credentials.json
Parameters: server_url (str) – URL of the server Return type: dict Returns: User dict
-
accounts.register(server_url, *args, **kwargs)¶ Register a new user.
Accepts the same parameters as
requests.post()excepturl.Implements https://twitter-api.readthedocs.io/en/latest/accounts.html#post–api-account-register.json
Parameters: server_url (str) – URL of the server Return type: dict Returns: User dict
-
accounts.update_profile(server_url, *args, **kwargs)¶ Updates the authenticating user’s profile.
Accepts the same parameters as
requests.post()excepturl.Implements https://twitter-api.readthedocs.io/en/latest/accounts.html#post–api-account-update_profile.json
Parameters: server_url (str) – URL of the server Return type: dict Returns: User dict
-
accounts.update_profile_image(server_url, *args, **kwargs)¶ Updates the authenticating user’s profile image.
Accepts the same parameters as
requests.post()excepturl.Parameters: server_url (str) – URL of the server Return type: dict Returns: User dict