ylorant/horaro-php-client

Horaro API PHP client library

1.2 2021-05-27 14:03 UTC

This package is auto-updated.

Last update: 2024-04-27 20:24:25 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.