People

AniList. People

Access AniList's characters and staff data.

Methods

character(id) → {CharacterEntry}

Description:
  • Fetch a character entry by its AniList ID.
Source:
Since:
  • 1.0.0
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:
  • 1.12.0
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:
  • 1.12.0
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:
  • 1.14.0
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:
  • 1.14.0
Parameters:
Name Type Default Description
page Number 1 What page in the search to target. Defaults at 1.
Returns:
Type
Array.<PersonRelation>

staff(id) → {StaffEntry}

Description:
  • Fetch a staff entry by its AniList ID or their name.
Source:
Since:
  • 1.0.0
Parameters:
Name Type Description
id Number | String Required. The ID can either be the AniList ID or the staff's name.
Returns:
Type
StaffEntry