Download the PHP package pendonl/php-club-dataservice without Composer
On this page you can find all versions of the php package pendonl/php-club-dataservice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pendonl/php-club-dataservice
More information about pendonl/php-club-dataservice
Files in pendonl/php-club-dataservice
Package php-club-dataservice
Short Description PHP wrapper around the Sportlink Club.Dataservice API
License MIT
Informations about the package php-club-dataservice
Sportlink Club.Dataservice
This package contains a PHP wrapper around the Sportlink Club.Dataservice API. It aims to make working with the API a breeze.
Installation
Install the package using composer:
Require the vendor/autoload.php file:
Create an instance of the API using your Sportlink Club.Dataservice Client ID:
Setting the API key later (DI)
You can set the 'api_key' later. So you can use it better with dependency injection. Here's an example:
It al starts by getting the club details.
All properties - similar to the json response provided by the API - are made public, so you are free to use $club->clubnaam
for example. Once you get the club details you can proceed by requesting the teams and related entities.
Thanks to
- KNVB Dataservice API Wrapper by @barryvdh - for providing a basis for this API wrapper.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
About Pendo
Pendo is a webdevelopment agency based in Maastricht, Netherlands. If you'd like, you can visit our website.
License
The MIT License (MIT). Please see License File for more information.