nexxomnia/apiclient-php

The nexxOMNIA API Client for PHP

1.6.1 2023-12-03 01:13 UTC

README

The nexxOMNIA API Client provides easy Access to all API Endpoints of the nexxOMNIA API.

Getting Started

$ composer require nexxomnia/apiclient-php
use nexxomnia\apiclient;
use nexxomnia\apicalls\mediacall;
use nexxomnia\enums\streamtypes;

$apiclient = new apiclient();
$apiclient->configure(999,"API-SECRET","SESSION-ID");

$apicall = new mediacall(streamtypes::VIDEO);
$apicall->latest();

$result=$apiclient->call($apicall);

echo $result->getResultIterator(TRUE)->current()->getGeneral()->getID(); // outputs the ID of the first Element

Resources

Please find all further Documentation and Usage Examples here.