PHP code example of celitech-sdk / sdk
1. Go to this page and download the library: Download celitech-sdk/sdk 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/ */
celitech-sdk / sdk example snippets
new Client(
clientId: 'CLIENT_ID',
clientSecret: 'CLIENT_SECRET'
)
sdk.setClientId('CLIENT_ID')
sdk.setClientSecret('CLIENT_SECRET')
$sdk = new Client(timeout: 1000);
use Celitech\Client;
$sdk = new Client(clientId: 'CLIENT_ID', clientSecret: 'CLIENT_SECRET');
$response = $sdk->destinations->listDestinations();
print_r($response);