attus / porthu
Port.hu TV API
1.0.1
2021-01-11 16:37 UTC
Requires
- php: ^7.2 || ^8.0
- guzzlehttp/guzzle: ^6.5
README
API for reading the program of Hungarian TV directory Port.hu
use Attus\PortHu\PortHu; use Attus\PortHu\Exception\PortHuException; $portHu = new PortHu(); $portHu->addChannel(5); $t = time() + 86400; $portHu->setTimestamp($t); try { $result = $portHu->getProgram(); } catch (PortHuException $ex) { var_dump($ex); }