topix-hackademy/wowza-restapi

0.0.2 2017-02-10 11:51 UTC

This package is not auto-updated.

Last update: 2024-11-15 22:09:21 UTC


README

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

Requirements

PHP 7.0 and later

Installation & Usage

Composer

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

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit lib/Tests

Getting Started

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;
}

?>

Documentation for API Endpoints

Requirements

mkdocs ( suggest using pip and virtualenv)

Create a virtualenv and install requirements via pip install -r requirements.txt

launch mkdocs build