PHP code example of topix-hackademy / wowza-restapi

1. Go to this page and download the library: Download topix-hackademy/wowza-restapi 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/ */

    

topix-hackademy / wowza-restapi example snippets


    


_instance = new WowzaApi\Api\RestinfoApi();

try {
    $result = $api_instance->getRESTInfoConfig();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RestinfoApi->getRESTInfoConfig: ', $e->getMessage(), PHP_EOL;
}