AniTubeApi class

AniTubeApi is a API which allows you fetch data from animetube.site brazilian anime website.

Constructors

AniTubeApi(Dio dioClient)

Properties

dioClient → Dio
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAnimeDetails(String animeId) Future<AnimeDetails>
This methods returns details about an specified anime. It returns a AnimeDetails object instance. animeId : The anime id to get details info.
getAnimeListPageData({int pageNumber = 1, String? startsWith, AnimeCC ccType = AnimeCC.LEGENDED}) Future<AnimeListPageInfo>
This method returns the data available on anime list page from animetube.site website. It returns an AnimeListPageInfo object instance will data and info on that page. pageNumber : The animes feed page number. with specified letter. The default value is an empty string. ccType : The closed caption type of the animes to be returned. Can be DUBBED or LEGENDED. The default values is LEGEND.
getEpisodeDetails(String episodeId) Future<EpisodeDetails>
This methods returns details about an specified Episode like streaming url. It returns a EpisodeDetails object instance. episodeId : The episode id to get details info.
getGenresAvailable() Future<List<Genre>>
This method fetches a list of all genres available animetube.site website.
getHomePageData() Future<HomePageInfo>
This method fetch the animetube.site website home page with all info available. It returns a HomePageInfo object with the data and info available on website home page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
This method do the search by animes matching query param. Query param can be anime name, part of the name or a genre name. query The search query. Can't be null. pageNumber The anitube site page number to load.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited