This repository has been 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
GetSongList
Marco Dal Zovo edited this page Jul 23, 2021
·
1 revision
Returns a list of Song objects filtered.
Name | Type | Summary |
---|---|---|
filter | SongFilter |
The request's filter |
Name | Type | Optional | Summary |
---|---|---|---|
AnimeId | Int64 |
Yes | The song's anime to search |
Title | String |
Yes | The song's title to search |
Artist | String |
Yes | The song's artist to search |
Year | Int32 |
Yes | The song's release year to search |
Season | AnimeSeasonEnum |
Yes | The song's release season to search |
Type | SongTypeEnum |
Yes | The song's type to search |
SongFilter filter = new SongFilter()
{
AnimeId = 10,
Type = SongTypeEnum.OPENING,
Sort = new Dictionary<string, SortDirectionEnum>()
{
{ "year", SortDirectionEnum.DESCENDING },
{ "season", SortDirectionEnum.ASCENDING }
}
};
var result = await AniAPI.Instance.GetSongList(filter);