ActivityStreams

activity_streams.public(server_url, *args, **kwargs)

Returns the most recent notices, including repeats if they exist, from non-protected users.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/activity_streams.html#get–api-statuses-public_timeline.as

Parameters:server_url (str) – URL of the server
Return type:dict
Returns:ActivityStream dict
activity_streams.home(server_url, *args, **kwargs)

Returns the most recent notices, including repeats if they exist, posted by the authenticating user and the users they follow.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/activity_streams.html#get–api-statuses-home_timeline.as

Parameters:server_url (str) – URL of the server
Return type:dict
Returns:ActivityStream dict
activity_streams.friends(server_url, *args, **kwargs)

Home timeline for the specified user.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/activity_streams.html#get–api-statuses-friends_timeline.as

Parameters:server_url (str) – URL of the server
Return type:dict
Returns:ActivityStream dict
activity_streams.user(server_url, *args, **kwargs)

Returns the most recent notices posted by the authenticating user. It is also possible to request another user’s timeline by using the screen_name or user_id parameter. The other users timeline will only be visible if they are not protected, or if the authenticating user’s follow request was accepted by the protected user.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/activity_streams.html#get–api-statuses-user_timeline.as

Parameters:server_url (str) – URL of the server
Return type:dict
Returns:ActivityStream dict
activity_streams.mentions(server_url, *args, **kwargs)

Returns the most recent mentions (notices containing @username) for the authenticating user or specified user.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/activity_streams.html#get–api-statuses-mentions.as

Parameters:server_url (str) – URL of the server
Return type:dict
Returns:ActivityStream dict
activity_streams.replies(server_url, *args, **kwargs)

Returns the most recent mentions (notices containing @username) for the authenticating user or specified user.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/activity_streams.html#get–api-statuses-replies.as

Parameters:server_url (str) – URL of the server
Return type:dict
Returns:ActivityStream dict