nekos_best library

A minimal package to interact with nekos.best api

Classes

Client
Base client to interact with the api.
NBArgumentError
An extended NBError class representing an error in passing arguments to the function. This is returned by the library.
NBBufferResponse
A class representing a Buffer response from the api. This is returned from the Client.fetchFile() method when the api returns raw binary data for an image file
NBError
Empty class for any sort of error
NBRateLimitError
An extended NBError class representing a rate limit error. This is returned due to api response
NBResponse
A class represting a response object from the api

Functions

fetch({String? endpoint = null, int amount = 1}) Future<List<NBResponse>>
Quick function to fetch a response