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

GetEpisodeList

Marco Dal Zovo edited this page Jul 23, 2021 · 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
Source String Yes The episode's website to search
Locale String Yes The episode's i18n to search

Usage

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

var result = await AniAPI.Instance.GetEpisodeList(filter);

Clone this wiki locally