jikan_api 1.1.0

jikan_api #

Build Status pub package


A single anime object with all its details.

Future<Anime> getAnimeInfo(int animeId);
Future<CharacterStaff> getAnimeCharactersStaff(int animeId);
Future<BuiltList<Episode>> getAnimeEpisodes(int animeId, {int page = 1});
Future<BuiltList<Article>> getAnimeNews(int animeId);
Future<BuiltList<Picture>> getAnimePictures(int animeId);
Future<BuiltList<Promo>> getAnimeVideos(int animeId);
Future<Stats> getAnimeStats(int animeId);
Future<BuiltList<Forum>> getAnimeForum(int animeId);
Future<MoreInfo> getAnimeMoreInfo(int animeId);
Future<BuiltList<Review>> getAnimeReviews(int animeId, {int page = 1});
Future<BuiltList<Recommendation>> getAnimeRecommendations(int animeId);
Future<BuiltList<UserUpdate>> getAnimeUserUpdates(int animeId, {int page = 1});


A single manga object with all its details.

Future<Manga> getMangaInfo(int mangaId);
Future<BuiltList<CharacterRole>> getMangaCharacters(int mangaId);
Future<BuiltList<Article>> getMangaNews(int mangaId);
Future<BuiltList<Picture>> getMangaPictures(int mangaId);
Future<Stats> getMangaStats(int mangaId);
Future<BuiltList<Forum>> getMangaForum(int mangaId);
Future<MoreInfo> getMangaMoreInfo(int mangaId);
Future<BuiltList<Review>> getMangaReviews(int mangaId, {int page = 1});
Future<BuiltList<Recommendation>> getMangaRecommendations(int mangaId);
Future<BuiltList<UserUpdate>> getMangaUserUpdates(int mangaId, {int page = 1});


A single person object with all its details.

Future<Person> getPersonInfo(int personId);
Future<BuiltList<Picture>> getPersonPictures(int personId);


A single character object with all its details.

Future<Character> getCharacterInfo(int characterId);
Future<BuiltList<Picture>> getCharactersPictures(int characterId);


Search results for the query.

Future<BuiltList<Search>> search(String query, SearchType type, {int page = 1});


Anime of the specified season.

Future<Season> getSeason({int year, SeasonType season});
Future<Season> getSeasonLater();
Future<BuiltList<SeasonArchive>> getSeasonArchive();


Anime schedule of the week or specified day.

Future<Schedule> getSchedule({WeekDay weekday});


Top items on MyAnimeList.

Future<BuiltList<Top>> getTop(TopType type, {TopSubtype subtype, int page = 1});


Anime/Manga items of the genre.

Future<GenreList> getGenre(GenreType type, Genre genre, {int page = 1});


Anime by this Producer/Studio/Licensor.

Future<Producer> getProducerInfo(int producerId, {int page = 1});


Manga by this Magazine/Serializer/Publisher.

Future<Magazine> getMagazineInfo(int magazineId, {int page = 1});


User related data.

Future<UserProfile> getUserProfile(String username);
Future<BuiltList<History>> getUserHistory(String username, HistoryType type);
Future<BuiltList<Friend>> getUserFriends(String username);
Future<BuiltList<UserItem>> getUserAnimeList(String username, ListType type,
    {String query, String order, String sort = 'desc', int page = 1});
Future<BuiltList<UserItem>> getUserMangaList(String username, ListType type,
    {String query, String order, String sort = 'desc', int page = 1});

1.1.0 #

  • Updated get response method to rescue server errors.

1.0.0+1 #

  • Updated user list parameters.

1.0.0 #

  • Fixed package suggestions.

0.0.1 #

  • Initial release.


import 'package:jikan_api/jikan_api.dart';

void main() async {
  var jikan = Jikan();
  var top = await jikan.getTop(TopType.anime, subtype: TopSubtype.airing);

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  jikan_api: ^1.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:jikan_api/jikan_api.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 12, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
built_collection ^4.3.0 4.3.2
built_value ^7.0.0 7.0.9
http ^0.12.0+2 0.12.0+4
Transitive dependencies
async 2.4.0
charcode 1.1.3
collection 1.14.12
fixnum 0.10.11
http_parser 3.1.3
matcher 0.12.6
meta 1.1.8
path 1.6.4
pedantic 1.9.0
quiver 2.1.2+1
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
build_runner ^1.7.2
built_value_generator ^7.0.0
test ^1.9.4