annict.api.API.records

API.records(fields=None, filter_ids=None, filter_episode_id=None, filter_has_record_comment=None, page=None, per_page=None, sort_id=None, sort_likes_count=None)[source]

Get records to episodes

Reference:

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

Parameters:
  • fields (list of str) – (optional) Narrow down the fields of data contained in the response body.
  • filter_ids (list of int) – (optional) Filter results by IDs.
  • filter_episode_id (int) – (optional) Filter results by Episode’s ID.
  • filter_has_record_comment (bool) – (optional) Filter the results by the presence or absence of comments. If you specify True, only records with comments will be filtered. Specifying False Filter records without comments.
  • 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.
  • sort_likes_count (str) – (optional) Sort the results by their number of likes. You can specify asc or desc.
Returns:

list of Record objects.

Return type:

annict.models.ResultSet