Methods
(async) addEntry(id, options)
→ {UpdatedEntry}
- Description:
-
- [Requires Login] Add an entry to a user's list.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
id |
Number
|
The AniList ID of the entry to add |
options |
UpdateEntryOptions
|
Values to save with. |
Returns:
- Type
-
UpdatedEntry
- Description:
-
- Fetch a user's AniList anime lists.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
user |
Number
|
String
|
Required. Can either be the username or the AniList ID.
|
Returns:
- Type
-
UserList
- Description:
-
- Fetch a user's AniList manga lists.
- Source:
-
- Since:
-
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:
-
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:
-
Parameters:
Name |
Type |
Description |
id |
Number
|
The AniList list ID of the entry to edit. |
options |
UpdateEntryOptions
|
Values to save with. |
Returns:
- Type
-
UpdatedEntry