PHP code example of dansleboby / zoomphp-sdk
1. Go to this page and download the library: Download dansleboby/zoomphp-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/ */
dansleboby / zoomphp-sdk example snippets
Configure OAuth2 access token for authorization: OAuth
$config = Zoom\Api\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Zoom\Api\Api\AccountsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$account_id = q6gBJVO5TzexKYTb_I2rpg; // string | The account's ID. For the Master account, pass the `me` value for this parameter.
try {
$result = $apiInstance->accountManagedDomain($account_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountsApi->accountManagedDomain: ', $e->getMessage(), PHP_EOL;
}