PHP client for Ergast Developer API
v1.0.0 2018-02-20 11:29 UTC
A simple Object Oriented wrapper for Ergast API, written with PHP7.
- PHP >= 7.1
- Guzzle library,
- (optional) PHPUnit to run tests.
$ composer require brieucthomas/ergast-client php-http/guzzle6-adapter
<?php // This file is generated by Composer require_once __DIR__ . '/vendor/autoload.php'; $client = new \Ergast\Client(); $response = $client->sendRequest('/f1/circuits/monza');
ergast-client is licensed under the MIT License - see the LICENSE file for details.