The nexxOMNIA API Client provides easy Access to all API Endpoints of the nexxOMNIA API.
$ 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
Please find all further Documentation and Usage Examples here.