Module api

Source
Expand description

A core module for interacting with the Gelbooru API.

Usually, you prefer to use the BatchGetter struct to get the data from the Gelbooru API.

Modules§

data
The data structure for the JSON response from the Gelbooru API.
url
The URLs for the Gelbooru API.

Structs§

BatchGetter
This helper wraps the Getter struct and automatically polls the API until the number of images is reached.
Getter
A Consuming-Builders style function to get the data from the Gelbooru API.