nekos_best 2.1.4 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.
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');
}