Providers - groenlid/Uranime-api GitHub Wiki

Providers should be the standard way of fetching/updating anime from remote sites.

They should all implement a common interface for fetching new data and updating the anime.

Common methods

  • constructor(uranime_anime, client = null): The constructor.
  • refreshRemote(): Refreshes the remote anime and returns a promise.
  • updateEpisodes(): Should return a promise.
  • returnAnime(): Returns the modified uranime_anime from the provider cache.