Skip to content

armandsar/betvictor-broccoli

Repository files navigation

BetVictor Broccoli

Software License Build Status Total Downloads

Simple betvictor api client for Laravel 5.

Install

Via Composer

$ composer require armandsar/betvictor-broccoli

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

Armandsar\BetVictorBroccoli\ServiceProvider::class,

or let Laravel autoload package if on >= 5.5

Publish api config

$ php artisan vendor:publish

Usage

$client = new Armandsar\BetVictorBroccoli\BetVictorClient();

or let Laravel do this by type hinting dependency in constructors or controller methods

Available methods

Sports:

$client->sports();
$client->meetings($sportId);
$client->meetingEvents($sportId, $meetingId);

Testing

$ phpunit

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages