nekos_best 2.1.2 icon indicating copy to clipboard operation
nekos_best: ^2.1.2 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
31%
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)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

http

More

Packages that depend on nekos_best