Skip to main content

Module sync

Module sync 

Source

Structs§

Activities
AnimeHistoryItem
An individual anime to add to/remove from watch history.
AnimeListItem
An anime to add to a specific list.
AnimeRatingItem
An individual anime rating.
MediaActivity
MovieHistoryItem
An individual movie to add/remove from watch history.
MovieListItem
A movie to add to a specific list.
MovieRatingItem
An individual movie rating.
ShowHistoryItem
An individual TV show to add to/remove from watch history. Episodes can be specified at the show, season, or episode level.
ShowListItem
A show to add to a specific list.
ShowRatingItem
An individual show rating.
SyncAddedCounts
Item counts in a SyncResult.
SyncHistoryPayload
Payload for POST /sync/history (add to watched history) and POST /sync/history/remove.
SyncListPayload
Payload for POST /sync/add-to-list.
SyncNotFound
Items the API could not process (unrecognised IDs, etc.).
SyncRatingPayload
Payload for POST /sync/ratings (add ratings) and POST /sync/ratings/remove.
SyncResult
Standard response body for POST sync endpoints.
SyncSettings
WatchedEpisode
A single watched episode (used inside season lists or show-level episode arrays).
WatchedSeason
A watched season entry inside a show sync payload.

Constants§

USER_ACTIVITIES
Retrieve the latest activity timestamps for the user. This endpoint provides timestamps for various categories and media types, indicating the last time each was updated.
USER_ITEMS
Retrieve the entire watchlist.

Functions§

get_add_ratings_request
get_add_to_history_request
get_add_to_list_request
get_all_items_request
Instead of getting everything, you can get only one element (animes, movies, shows, …, ratings, …). You can also use a starting date
get_check_if_watched_request
get_remove_from_history_request
get_remove_ratings_request