Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

GetEpisodeList

Marco Dal Zovo edited this page Feb 7, 2022 · 2 revisions

Returns a list of Episode objects filtered.

Parameters

Name Type Summary
filter EpisodeFilter The request's filter

EpisodeFilter

Name Type Optional Summary
AnimeId Int64 Yes The episode's anime to search
Number Int32 Yes The episode's progressive number to search
IsDub Boolean Yes If true, will search for dubbed episodes
Locale String Yes The episode's i18n to search

Usage

EpisodeFilter filter = new EpisodeFilter()
{
  AnimeId = 1,
  IsDub = true,
  Locale = "en",
  Sort = new Dictionary<string, SortDirectionEnum>()
  {
    { "number", SortDirectionEnum.DESCENDING }
  }
};

var result = await AniAPI.Instance.GetEpisodeList(filter);
Clone this wiki locally