nekos_best 2.1.5 copy "nekos_best: ^2.1.5" to clipboard
nekos_best: ^2.1.5 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');
}
3
likes
140
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

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

MIT (license)

Dependencies

http

More

Packages that depend on nekos_best