Uh oh!
There was an error while loading. Please reload this page.
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 Feb 7, 2022
·
4 revisions
Returns a list of Anime objects filtered.
| Name | Type | Summary |
|---|---|---|
| filter | AnimeFilter | The request's filter |
| Name | Type | Optional | Summary |
|---|---|---|---|
| Title | String | Yes | The anime's title to search |
| AnilistId | Int64 | Yes | The anime's anilist id to search |
| MyAnimeListId | Int64 | Yes | The anime's mal id to search |
| Formats | AnimeFormatEnum[] | Yes | The anime's formats to search |
| Status | AnimeStatusEnum | Yes | The anime's status to search |
| Year | Int32 | Yes | The anime's release year to search |
| Season | AnimeSeasonEnum | Yes | The anime's release season to search |
| Genres | String[] | Yes | The anime's genres to search |
| NSFW | Boolean | Yes | If true, will include also anime marked as Not Safe For Work |
AnimeFilterfilter=newAnimeFilter(){Title="Cowboy Bebop",AnilistId=1,MyAnimeListId=1,Formats=newAnimeFormatEnum[2]{AnimeFormatEnum.TV,AnimeFormatEnum.TV_SHORT},Status=AnimeStatusEnum.FINISHED,Year=1998,Season=AnimeSeasonEnum.SPRING,Genres=newstring[3]{"Action","Guns","Military"},Sort=newDictionary<string,SortDirectionEnum>(){{"titles.en",SortDirectionEnum.DESCENDING}}};varresult=awaitAniAPI.Instance.GetAnimeList(filter);