Expand description
§Raw swgoh.gg API Bindings
This crate contains raw API Bindings to the swgoh.gg API.
To use this crate you will have to acquire an API access token from your profile settings.
Once acquired, set it as the environment variable SWGOH_GG_ACCESS_KEY and create a Client:
§Example
let client = swgoh_gg::Client::new().expect("API token is set");
// now you have access to APICheck out the Docs for more information.
Modules§
- types
- Types returned by the API responses
Structs§
Enums§
- Error
- Error when sending a request to the API server
Constants§
- RATE_
LIMIT - Artificial rate limit to comply with the usage terms.
- SWGOH_
GG_ ACCESS_ KEY - The env variable containing the access key
to create a
Client.