logo
Expand description

FFI bindings for senpy-rs

Structs

The response of the https://api.senpy.club/v2/random route

Statics

The base URL to The Senpy Club API

The current API version of The Senpy Club API

The API URL to The Senpy Club API

Functions

Returns an array where the first element is the size of the array and the remaining elements are the images.

Returns an array where the first element is the size of the array and the remaining elements are the languages.

Frees a Random

Gets a member from a Random, valid members are language and image.

Initializes a new Random

Populates a Random from a senpy::random call

Returns 1 if up, returns 0 if down, and returns -1 if the request failed for any reason.