This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 0.0.1
- Build date: 2016-07-18T13:26:07.291Z
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
PHP 7.0 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/topix-hackademy/wowza-restapi.git"
}
],
"require": {
"topix-hackademy/wowza-restapi": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit lib/Tests
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_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;
}
?>
mkdocs ( suggest using pip and virtualenv)
Create a virtualenv and install requirements via pip install -r requirements.txt
launch mkdocs build