This repository was archived by the owner on Dec 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
GetAnimeList
Marco Dal Zovo edited this page Jul 23, 2021
·
4 revisions
Returns a list of Anime objects filtered.
| Name | Type | Summary |
|---|---|---|
| filter | AnimeFilter |
The request's filter |
AnimeFilter filter = new AnimeFilter()
{
Title = "Cowboy Bebop",
AnilistId = 1,
MyAnimeListId = 1,
Formats = new AnimeFormatEnum[2]
{
AnimeFormatEnum.TV,
AnimeFormatEnum.TV_SHORT
},
Status = AnimeStatusEnum.FINISHED,
Year = 1998,
Season = AnimeSeasonEnum.SPRING,
Genres = new string[3]
{
"Action",
"Guns",
"Military"
},
Sort = new Dictionary<string, SortDirectionEnum>()
{
{ "titles.en", SortDirectionEnum.DESCENDING }
}
};
var result = await AniAPI.Instance.GetAnimeList(filter);