Users

users.following(server_url, *, user_id=None, screen_name=None, count=20, username='', password='', oauth={})

Returns a collection of user objects for users followed by the specified user.

Parameters:
  • server_url (str) – URL of the server
  • user_id (int) – (optional) ID of the user for whom to return results for
  • screen_name (str) – (optional) handle of the user for whom to return results for
  • count (int) – (optional) number of users to try and retrieve
  • username (str) – (optional) name of the authenticating user
  • password (str) – (optional) password of the authenticating user
  • oauth (dict) – (optional) OAuth dict
Return type:

list

Returns:

a list of user dicts

users.followers(server_url, *, user_id=None, screen_name=None, count=20, username='', password='', oauth={})

Unsubscribe to status updates from specified user.

Parameters:
  • server_url (str) – URL of the server
  • user_id (int) – (optional) ID of the user for whom to return results for
  • screen_name (str) – (optional) handle of the user for whom to return results for
  • count (int) – (optional) number of users to try and retrieve
  • username (str) – (optional) name of the authenticating user
  • password (str) – (optional) password of the authenticating user
  • oauth (dict) – (optional) OAuth dict
Return type:

list

Returns:

a list of user dicts

users.show(server_url, *, user_id=None, screen_name=None, username='', password='', oauth={})

Returns detailed information about the specified user.

Parameters:
  • server_url (str) – URL of the server
  • user_id (int) – (optional) ID of the user for whom to return results for
  • screen_name (str) – (optional) handle of the user for whom to return results for
  • username (str) – (optional) name of the authenticating user
  • password (str) – (optional) password of the authenticating user
  • oauth (dict) – (optional) OAuth dict
Return type:

dict

Returns:

User dict