PHP code example of tdm / volleyscores

1. Go to this page and download the library: Download tdm/volleyscores 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/ */

    

tdm / volleyscores example snippets


use TDM\VolleyScores\VolleyScores;

$volleyscores = new VolleyScores;

$volleyscores->series()->all([
    'province_id' => 5,        // optional
    'stamnummer'  => 'O-1112', // optional
]);

$volleyscores->series()->all([
    'province_id' => 5,
    'stamnummer'  => ['O-1112', 'RO-RO0991'],
]);

$volleyscores->calendar()->get([
    'province_id' => 5,      // 

$volleyscores->competition()->main([
    'province_id' => 5,      // optional
    'reeks'       => 'OHP3', // 

$volleyscores->competition()->reserve([
    'province_id' => 5,      // optional
    'reeks'       => 'OHP3', //