Expand description
FFI bindings for senpy-rs
Structs§
- Random
- The response of the https://api.senpy.club/v2/random route
Statics§
- SENPY_
CLUB_ API_ BASE_ URL - The base URL to The Senpy Club API
- SENPY_
CLUB_ API_ CURRENT_ VERSION - The current API version of The Senpy Club API
- SENPY_
CLUB_ API_ URL - The API URL to The Senpy Club API
Functions§
- language⚠
- Returns an array where the first element is the size of the array and the remaining elements are the images.
- languages
- Returns an array where the first element is the size of the array and the remaining elements are the languages.
- random_
free ⚠ - Frees a
Random - random_
get ⚠ - Gets a member from a
Random, valid members arelanguageandimage. - random_
new - Initializes a new
Random - random_
populate ⚠ - Populates a
Randomfrom asenpy::randomcall - status
- Returns
1if up, returns0if down, and returns-1if the request failed for any reason.