Methods
- Description:
-
- Fetch a character entry by its AniList ID.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
id |
Number
|
String
|
Required. The ID tied to the AniList entry. |
Returns:
- Type
-
CharacterEntry
(async) favouriteChar(id) → {Boolean}
- Description:
-
- [Requires Login] Favourite/Unfavourite a character
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
id |
Number
|
Required. The ID tied to the AniList entry. |
Returns:
Returns true if added, false otherwise.
- Type
-
Boolean
(async) favouriteStaff(id) → {Boolean}
- Description:
-
- [Requires Login] Favourite/Unfavourite a staff entry
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
id |
Number
|
Required. The ID tied to the AniList entry. |
Returns:
Returns true if added, false otherwise.
- Type
-
Boolean
(async) getBirthdayCharacters(page)
→ {Array.<PersonRelation>}
- Description:
-
- Get all characters who's birthday is today
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Default |
Description |
page |
Number
|
1
|
What page in the search to target. Defaults at 1. |
Returns:
- Type
-
Array.<PersonRelation>
(async) getBirthdayStaff(page)
→ {Array.<PersonRelation>}
- Description:
-
- Get all staff entries who's birthday is today
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Default |
Description |
page |
Number
|
1
|
What page in the search to target. Defaults at 1. |
Returns:
- Type
-
Array.<PersonRelation>
- Description:
-
- Fetch a staff entry by its AniList ID or their name.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
id |
Number
|
String
|
Required. The ID can either be the AniList ID or the staff's name.
|
Returns:
- Type
-
StaffEntry