nekos_best 2.1.2 copy "nekos_best: ^2.1.2" to clipboard
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
0
pub points
14%
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

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on nekos_best