annict.api.API.activities

API.activities(fields=None, filter_user_id=None, filter_username=None, page=None, per_page=None, sort_id=None)[source]

Get activities

Reference:

https://docs.annict.com/ja/api/v1/activities.html

Parameters:
  • fields (list of str) – (optional) Narrow down the fields of data contained in the response body.
  • filter_user_id (int) – (optional) Filter results by User’s ID.
  • filter_username (str) – (optional) Filter results by username.
  • page (int) – (optional) Specify the number of pages.
  • per_page (int) – (optional) Specify how many items to acquire per page.
  • sort_id (str) – (optional) Sort the results by their ID. You can specify asc or desc.
Returns:

list of Activity objects.

Return type:

annict.models.ResultSet