axl-media-org/oddstake-sdk

SDK for the Oddstake service.

0.1.1 2021-02-10 10:50 UTC

README

CI codecov StyleCI Latest Stable Version Total Downloads Monthly Downloads License

Oddstake Odds implementation in PHP.

🚀 Installation

You can install the package via composer:

composer require axl-media-org/oddstake-sdk

🙌 Usage

Laravel

use AxlMedia\OddstakeSdk\Facade as Oddstake;

foreach (Oddstake::getSupportedCountries() as $country) {
    $response = Oddstake::soccer($country['feed_name']);
}

PHP

use AxlMedia\OddstakeSdk\Oddstake;

foreach (Oddstake::getSupportedCountries() as $country) {
    $response = (new Oddstake)->soccer($country['feed_name']);
}

🐛 Testing

vendor/bin/phpunit

🤝 Contributing

Please see CONTRIBUTING for details.

🎉 Credits