-
Notifications
You must be signed in to change notification settings - Fork 16
GetUserAnimeList
Bartłomiej Buchała edited this page Dec 11, 2018
·
3 revisions
Returns entries on user's anime list. This method parses item data by username from https://myanimelist.net/animelist/{username}. Returned list is paged with page size equal 300 anime entries.
| Type | Name | Summary |
|---|---|---|
String |
username | Username. |
| Type | Name | Summary |
|---|---|---|
String |
username | Username. |
Int32 |
page | Index of page folding 300 records of top ranging (e.g. 1 will return first 300 records, 2 will return record from 301 to 600 etc.) |
| Type | Name | Summary |
|---|---|---|
String |
username | Username. |
UserAnimeListExtension |
filter | Option to filter list. |
| Type | Name | Summary |
|---|---|---|
String |
username | Username. |
Int32 |
page | Index of page folding 300 records of top ranging (e.g. 1 will return first 300 records, 2 will return record from 301 to 600 etc.) |
UserAnimeListExtension |
filter | Option to filter list. |
By default GetUserAnimeList returns information about all anime entries. It is possible to filter returned entries using overload method with UserAnimeListExtension enum. List of possible values:
| Value | Name | Summary |
|---|---|---|
0 |
All | Basic extension, parse data for all entries. |
1 |
Watching | Watching extension, parses only anime with watching status. |
2 |
Completed | Completed extension, parses only anime with completed status. |
3 |
OnHold | On hold extension, parses only anime with on hold status. |
4 |
Dropped | Dropped extension, parses only anime with dropped status. |
5 |
PlanToWatch | Plan to watch extension, parses only anime with plan to watch status. |
// Initialize JikanWrapper
IJikan jikan = new Jikan(true);
// Send request for anime list of user with "Ervelan" username (first 300 entries)
UserAnimeList animeList = await jikan.GetUserAnimeList("Ervelan");
// Print first 300 anime on requested list wiht scores assigned by user.
foreach (var anime in animeList.Anime)
{
Console.WriteLine("Title: " + anime.Title + ", " + anime.Score);
}
// Send request for anime list of user with "Ervelan" username (entries from position 301 to 600).
animeList = await jikan.GetUserAnimeList("Ervelan", 2);
// Send request for anime list of user with "Ervelan" username (dropped anime only).
animeList = await jikan.GetUserAnimeList("Ervelan", UserAnimeListExtension.Dropped);
// Send request for anime list of user with "Ervelan" username (completed anime only, from position 301 to 600).
animeList = await jikan.GetUserAnimeList("Ervelan", UserAnimeListExtension.Completed, 2);GetUserAnimeList request return an UserAnimeList object. Schema:
| Type | Name | Summary |
|---|---|---|
ICollection<AnimeListEntry> |
Anime | Collection of user's anime on their anime list. |
Anime is a collection of AnimeListEntry objects. For schema for latter, check it's page.
- GetAnimeAsync
- GetAnimeEpisodesAsync
- GetAnimeCharactersAsync
- GetAnimeStaffAsync
- GetAnimeForumTopicsAsync
- GetAnimeMoreInfoAsync
- GetAnimeNewsAsync
- GetAnimePicturesAsync
- GetAnimeRecommendationsAsync
- GetAnimeReviewsAsync
- GetAnimeStatisticsAsync
- GetAnimeUserUpdatesAsync
- GetAnimeVideosAsync
- GetMangaAsync
- GetMangaCharactersAsync
- GetMangaForumTopicsAsync
- GetMangaMoreInfoAsync
- GetMangaNewsAsync
- GetMangaPicturesAsync
- GetMangaRecommendationsAsync
- GetMangaReviews
- GetMangaStatistics
- GetMangaUserUpdates
- Jikan
- BaseJikanRequest
- Anime
- AnimeCharactersStaff
- AnimeEpisodes
- AnimeGenre
- AnimeNews
- AnimePictures
- AnimeReviews
- AnimeStats
- AnimeTop
- AnimeUserUpdates
- AnimeVideos
- Character
- CharacterPictures
- CharactersTop
- Club
- ClubMembers
- ForumTopics
- Magazine
- Manga
- MangaCharacters
- MangaGenre
- MangaNews
- MangaPictures
- MangaReviews
- MangaStats
- MangaTop
- MangaUserUpdates
- MoreInfo
- PeopleTop
- Person
- Producer
- Recommendations
- Schedule
- Season
- SeasonArchives
- StatusMetadata
- UserAnimeList
- UserFriends
- UserHistory
- UserMangaList
- UserProfile
- AnimeEpisode
- AnimeListEntry
- AnimeReview
- AnimeReviewer
- AnimeReviewScores
- AnimeStaffPosition
- AnimeSubEntry
- AnimeTopEntry
- AnimeUserUpdate
- CharacterEntry
- CharacterTopEntry
- ClubMember
- EpisodeVideo
- ForumPostSnippet
- Friend
- ForumTopic
- HistoryEntry
- Licensor
- MALImageSubItem
- MALSubItem
- MangaListEntry
- MangaReview
- MangaReviewer
- MangaReviewScores
- MangaSubEntry
- MangaTopEntry
- MangaUserUpdate
- News
- PersonTopEntry
- Picture
- PromoVideo
- PublishedManga
- Recommendation
- Review
- Reviewer
- RelatedAnime
- RelatedManga
- ScoringStatEntry
- ScoringStats
- SeasonArchive
- StaffPositionEntry
- TimePeriod
- UserAnimeStatistics
- UserFavoritesSection
- UserFavoritesSection
- UserUpdate
- VoiceActingRole
- VoiceActorEntry
- AnimeSearchConfig
- AnimeSearchEntry
- AnimeSearchResult
- CharacterSearchEntry
- CharacterSearchResult
- MangaSearchConfig
- MangaSearchEntry
- MangaSearchResult
- PersonSearchEntry
- PersonSearchResult
- AgeRating
- Status
- AnimeExtension
- AnimeGenreSearch
- AnimeType
- CharacterExtension
- ClubExtensions
- MangaExtension
- MangaGenreSearch
- MangaType
- PersonExtension
- ScheduledDay
- SeasonExtension
- Seasons
- TopAnimeExtension
- TopMangaExtension
- UserAnimeListExtension
- UserExtension
- UserHistoryExtension
- UserMangaListExtension