ylorant / horaro-php-client
Horaro API PHP client library
1.2
2021-05-27 14:03 UTC
Requires
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: ^9.1
This package is auto-updated.
Last update: 2025-02-27 22:31:37 UTC
README
This is a PHP library to consume the Horaro API from your PHP projects.
Installation
Install it via composer :
composer require ylorant/horaro-php-client
Usage
Here is an example of how to use the library :
<?php use Horaro\Client as HoraroClient; $client = new HoraroClient(); $schedule = $client->getSchedule('speedcombo', 'sta-twitch'); // $schedule is a stdClass object.
You can check https://horaro.org/-/api for more info about the objects returned by the API.
Have fun.