jikan_api
3.0.1, released 5 days ago by an unverified publisher
Dart wrapper for the Tenrai (formerly Jikan) unofficial MyAnimeList API.
WASM-ready
What it does
Provides typed methods to fetch anime, manga, characters, people, and related data from the Tenrai API. Models are generated with built_value for immutability and JSON parsing.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read MyAnimeList data without building your own scraper
- You want strongly‑typed Dart models for anime/manga information
Skip it when
- You require write operations or authentication against MyAnimeList
- You need real‑time updates or WebSocket support
Strengths
- Wide coverage of MyAnimeList endpoints
- Built‑value models give immutable, type‑safe data
- Simple Future‑based API
Weaknesses
- The underlying API is unofficial and may be discontinued
- Some endpoints are missing or not yet available
- Only GET requests; no support for mutations
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add the package to pubspec.yaml and run `flutter pub get`. No additional permissions required; built_value models may need `build_runner` if you modify them.
import 'package:jikan_api/jikan_api.dart';
void main() async {
final api = JikanApi();
final anime = await api.getAnime(1);
print(anime.title);
}Alternatives
Packages that do the same job and could replace jikan_api.
Works with
Packages commonly used together with jikan_api: ones it builds on, ones built on it, and its own family.