bannerify/bannerify, for a typed and efficient experience. This SDK allows you to interact with our API without having to make HTTP requests directly.
Install
Install via Composer:Instantiate
If you want to use SDK, you will need your API key — you can create a new one in the settings.Response format
To make error handling explicit and prevent forgotten error checks, we return errors as part of the response structure. Every method returns an array with either aresult or an error field, never both and never none.
Checking for errors
To check for errors, use theerror key in the response:
Options
The constructor accepts some options to customize the behavior:API Key
Your project’s API key