Install the SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
Bunny provides server side libraries that abstract much of the authentication, authorization and request formation boilerplate code required to make API requests.
You can find the source code for the two SDKs here:
Installing the SDKs is straighforward.
Install the Bunny SDK via NPM
Set the access token
Or alternatively use client credentials. This will enable automatic refresh of expired access tokens.
Source:
Source:
We recommend using one of our official SDKs, however if you want to write your own code then you will need to . You should also keep in mind handling access token expiry errors and retries.