anilibria 0.4.0 copy "anilibria: ^0.4.0" to clipboard
anilibria: ^0.4.0 copied to clipboard

outdated

A simple and robust way to interact with Anilibria API. Supports all platforms.

anilibria.dart #

A simple and robust way to interact with Anilibria API.

Example #

import 'package:anilibria/anilibria.dart';

void main() async {
  final anilibria = Anilibria(Uri.parse('https://api.wwnd.space/v2'));

  // Fetch one title
  final title = await anilibria.getTitle(id: 824);
  print(title.names?.en);

  // Fetch updated titles
  final updates = await anilibria.getUpdates(limit: 10);
  print(updates.map((e) => e.names?.en));

  // Search some titles
  final search = await anilibria.searchTitles(search: 'Maid Dragon');
  print(search.map((e) => e.names?.en));
}

4
likes
0
points
73
downloads

Publisher

verified publisherarslee.dev

Weekly Downloads

A simple and robust way to interact with Anilibria API. Supports all platforms.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on anilibria