Crate bunny_api

Source
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.
ResponseError
The server returned an error response code (4xx or 5xx).

Enums§

ClientError
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.
NoSpecificError
Type alias for Infallible that better indicates that errors can still happen, but not [ErrorKind::Other].