xxaxxo/fbd

Wrapper for football-data.org for Laravel 5.*

Maintainers

Details

github.com/xxaxxo/FBD

Source

Issues

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/xxaxxo/fbd

1.2 2016-11-27 11:19 UTC

This package is auto-updated.

Last update: 2025-09-22 06:00:00 UTC


README

============================

football-data.org

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