nekos_best 2.1.4 copy "nekos_best: ^2.1.4" to clipboard
nekos_best: ^2.1.4 copied to clipboard

A dart package for interacting with nekos.best api. Easy and simple package to make requests to nekos.best and fetch results.

example/example.dart

import 'package:nekos_best/nekos_best.dart' show fetch;

void main() async {
  /// Fetching one result
  var neko = await fetch(endpoint: 'neko');
  print('printing neko $neko');

  /// Fetching without a specified category
  var rand = await fetch();
  print('printing random category $rand');

  /// Fetching multiple results from a single endpoint
  var multi = await fetch(endpoint: 'baka', amount: 6);
  print('printing multiple bakas $multi');
}
2
likes
120
pub points
12%
popularity

Publisher

unverified uploader

A dart package for interacting with nekos.best api. Easy and simple package to make requests to nekos.best and fetch results.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on nekos_best