Lists

AniList. Lists

Access a user's AniList list data.

Methods

(async) addEntry(id, options) → {UpdatedEntry}

Description:
  • [Requires Login] Add an entry to a user's list.
Source:
Since:
  • 1.13.0
Parameters:
Name Type Description
id Number The AniList ID of the entry to add
options UpdateEntryOptions Values to save with.
Returns:
Type
UpdatedEntry

anime(user) → {UserList}

Description:
  • Fetch a user's AniList anime lists.
Source:
Since:
  • 1.1.0
Parameters:
Name Type Description
user Number | String Required. Can either be the username or the AniList ID.
Returns:
Type
UserList

manga(user) → {UserList}

Description:
  • Fetch a user's AniList manga lists.
Source:
Since:
  • 1.1.0
Parameters:
Name Type Description
user Number | String Required. Can either be the username or the AniList ID.
Returns:
Type
UserList

(async) removeEntry(id) → {Boolean}

Description:
  • [Requires Login] Remove an entry from a user's lists.
Source:
Since:
  • 1.13.0
Parameters:
Name Type Description
id Number The AniList list ID of the entry to remove.
Returns:
Returns true if removed, false otherwise.
Type
Boolean

(async) updateEntry(id, options) → {UpdatedEntry}

Description:
  • [Requires Login] Update a list entry to a user's list.
Source:
Since:
  • 1.13.0
Parameters:
Name Type Description
id Number The AniList list ID of the entry to edit.
options UpdateEntryOptions Values to save with.
Returns:
Type
UpdatedEntry