PHP code example of jeroendesloovere / volleyadmin2-php-api
1. Go to this page and download the library: Download jeroendesloovere/volleyadmin2-php-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jeroendesloovere / volleyadmin2-php-api example snippets
composer
php
use JeroenDesloovere\VolleyAdmin2\VolleyAdmin2;
// Fill in these custom variables
$clubNumber = 'W-1132';
$provinceId = 9;
$seriesId = '2 PDA'; // Tweede provinciale dames A
$api = new VolleyAdmin2();
$matches = $api->getMatches(
$seriesId,
$provinceId,
$clubNumber
);
$series = $api->getSeries($provinceId);
$standings = $api->getStandings(
$seriesId,
$provinceId
);