Expand description
API Client and CLI for https://bunny.net.
This documentation covers how to use the library as an API client.
§CLI Installation
cargo install bunny
Modules§
- edge
- Bindings to the Edge Storage API.
- purge
- Bindings to the Purge URL API.
- support
- Types and API functions related to the Support APIs.
- user
- Types and API functions related to users.
Structs§
- Client
- API Client initialized with an API access key.
- Error
- An error returned by an API call.
- Response
Error - The server returned an error response code (
4xx
or5xx
).
Enums§
- Client
Error - Errors that may occur when creating a new
Client
.
Constants§
- API_
BASE_ URL - The base URL for most of the Bunny.net API
Type Aliases§
- APIResult
- The result type returned by API calls.
- NoSpecific
Error - Type alias for
Infallible
that better indicates that errors can still happen, but not [ErrorKind::Other
].