2017 © Pedro Peláez
 

library pinnacle-pineapple

Api client for pinnaclesports

image

armandsar/pinnacle-pineapple

Api client for pinnaclesports

  • Tuesday, February 6, 2018
  • by armandsar
  • Repository
  • 1 Watchers
  • 4 Stars
  • 1,043 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

Pinnacle Pineapple

Software License Build Status Total Downloads, (*1)

Simple pinnacle api client for Laravel 5., (*2)

Install

Via Composer, (*3)

``` bash $ composer require armandsar/pinnacle-pineapple, (*4)


After updating composer, add the ServiceProvider to the providers array in config/app.php

Armandsar\PinnaclePineapple\PinnaclePineappleServiceProvider::class,, (*5)


Publish api credentials config ``` bash $ php artisan vendor:publish

Usage

``` php $client = new Armandsar\PinnaclePineapple\PinnacleClient();, (*6)


or let Laravel do this by type hinting dependency in constructors or controller methods ## Available methods Odds: ``` php $client->odds($options);

Special Odds: ``` php $client->specialOdds($options);, (*7)


Fixtures: ``` php $client->fixtures($options);

Special Fixtures: ``` php $client->specialFixtures($options);, (*8)


Settled fixtures: ``` php $client->settledFixtures($options);

Leagues: ``` php $client->leagues($options);, (*9)


Sports: ``` php $client->sports($options);

$options is just an array for passing in parameters and values to api, for most of the endpoints some sort of parameter will be required, (*10)

You can also use chainable method since to pass this parameter, (*11)

``` php $client->since($when)->odds(['sportId' => 29]);, (*12)


## Testing ``` bash $ phpunit

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

06/02 2018

dev-master

9999999-dev https://github.com/armandsar/pinnacle-pineapple

Api client for pinnaclesports

  Sources   Download

MIT

The Requires

 

The Development Requires

api sports tips betting armandsar pinnacle

30/03 2017

0.1.2

0.1.2.0 https://github.com/armandsar/pinnacle-pineapple

Api client for pinnaclesports

  Sources   Download

MIT

The Requires

 

The Development Requires

api sports tips betting armandsar pinnacle

11/09 2016

0.1.1

0.1.1.0 https://github.com/armandsar/pinnacle-pineapple

Api client for pinnaclesports

  Sources   Download

MIT

The Requires

 

The Development Requires

api sports tips betting armandsar pinnacle

11/09 2016

0.1.0

0.1.0.0 https://github.com/armandsar/pinnacle-pineapple

Api client for pinnaclesports

  Sources   Download

MIT

The Requires

 

The Development Requires

api sports tips betting armandsar pinnacle

11/12 2015

0.0.0

0.0.0.0 https://github.com/armandsar/pinnacle-pineapple

Api client for pinnaclesports

  Sources   Download

MIT

The Requires

 

The Development Requires

api sports tips betting armandsar pinnacle