PHP code example of mcwnuq / php-bbb-api-wrapper
1. Go to this page and download the library: Download mcwnuq/php-bbb-api-wrapper 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/ */
mcwnuq / php-bbb-api-wrapper example snippets
en = new APIToken(TokenType::PRIVATE, "Find @ https://builtbybit.com/account/api");
$wrapper = new APIWrapper();
if ($error = $wrapper->initialise($token)->getError()) {
die("API initialisation error: ". $error["message"]);
}
echo $wrapper->members()->fetch(87939)->getData()["username"];