PHP code example of armandsar / pinnacle-pineapple

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

    

armandsar / pinnacle-pineapple example snippets

 bash
$ php artisan vendor:publish
 php
$client = new Armandsar\PinnaclePineapple\PinnacleClient();
 php
$client->odds($options);
 php
$client->specialOdds($options);
 php
$client->fixtures($options);
 php
$client->specialFixtures($options);
 php
$client->settledFixtures($options);
 php
$client->leagues($options);
 php
$client->sports($options);
 php
$client->since($when)->odds(['sportId' => 29]);