Methods
all(user) → {Object}
- Description:
-
- Fetch a user's AniList profile, basic and stats.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
user |
Number
|
String
|
Required. Can either be the username or the AniList ID.
|
Returns:
- Type
-
Object
(async) follow(userID) → {Boolean}
- Description:
-
- [Requires Login] Follow/Unfollow a user
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
userID |
Number
|
The user ID of the account to follow |
Returns:
True if following, false otherwise.
- Type
-
Boolean
- Description:
-
- Fetch profile information on the currently authorized user.
- Source:
-
- Since:
-
Returns:
- Type
-
UserProfile
getRecentActivity(user) → {Array.<Object>}
- Description:
-
- Fetch recent activity from a user.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
user |
Number
|
Required. Needs to be the user's AniList ID. |
Returns:
- Type
-
Array.<Object>
- Description:
-
- Fetch a user's AniList basic profile.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
user |
Number
|
String
|
Required. Can either be the username or the AniList ID.
|
Returns:
- Type
-
UserProfile
- Description:
-
- Fetch a user's AniList stats.
- Source:
-
- Since:
-
Parameters:
Name |
Type |
Description |
user |
Number
|
String
|
Required. Can either be the username or the AniList ID.
|
Returns:
- Type
-
UserStats
(async) update(options) → {UserOptions}
- Description:
-
- [Requires Login] Update user settings
- Source:
-
- Since:
-
Parameters:
Returns:
- Type
-
UserOptions