PHP code example of sweetdate / client
1. Go to this page and download the library: Download sweetdate/client 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/ */
sweetdate / client example snippets
weetDate\Client;
$client = new Client([
'base_url' => 'https://api.sweetdate.io',
'api_key' => getenv('SWEETDATE_API_KEY'),
]);
$tenants = $client->tenants()->list([
'limit' => 10,
'offset' => 0,
]);
print_r($tenants);
bash
git clone https://github.com/SweetDate-Calendar/sd_php.git
cd sd_php