PHP code example of setono / budbee-bundle
1. Go to this page and download the library: Download setono/budbee-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
setono / budbee-bundle example snippets
use Setono\Budbee\Client\ClientInterface;
rface $client;
public function __construct(ClientInterface $client)
{
$this->client = $client;
}
public function __invoke(): void
{
// do something with the client
$boxes = $this->client->boxes()->getAvailableLockers('DK', '1159');
// ...
}
}