3 releases
0.1.3 | Feb 10, 2024 |
---|---|
0.1.2 | Feb 10, 2024 |
0.1.1 | Feb 10, 2024 |
#1553 in Game dev
17KB
308 lines
Freestuffbot API
Convenient API wrapper for the freestuffbot.xyz API.
Usage
Documentation is available at docs.rs. There is also an examples directory.
lib.rs
:
Client for the freestuffbot.xyz API.
Main interface is through the Client
struct, which is constructed using
[Client::builder()
].
An API key can be gotten from https://freestuffbot.xyz.
Usage
let api_key = "secret api key";
let client = Client::builder()
.key(&api_key)
.build()?;
client.ping().await?;
Dependencies
~0.3–12MB
~145K SLoC