Package Data | |
---|---|
Maintainer Username: | xxaxxo |
Maintainer Contact: | m.kumar@abv.bg (Michael Kumar) |
Package Create Date: | 2016-11-21 |
Package Last Update: | 2016-11-27 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-19 03:09:18 |
Package Statistics | |
---|---|
Total Downloads: | 23 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
============================
This package sole purpose is to make your interaction with football-data.org a bit easier. Pull the package - register in football-data.org
Put in your .env file
FBD_TOKEN=
FBD_URL=http://api.football-data.org/v1/
All the responses are returned as laravel collections for easier management after the request
composer require xxaxxo/fbd dev-master
Add
use xxaxxo\fbd\Services\FootballData\FootballData;
in your controller after getting the package and feed it to the model
Added a filter setter now you can use
$footballData->filter('timeFrame', 'n1')->getFixtureData();
for all the queries that accept filtering params