Skip to content

albionselimaj/football-data

 
 

Repository files navigation

:FootballData

football-data.org API Container for Laravel 5.2

Install

Via Composer

$ composer require grambas/football-data

Usage

Default api version: "v1". If you want to use another, insert paramter to the end of function of api version. For Example Football::getLeagues('aplha'); or getLeagueFixtures($id, 'alpha')

'providers' => [
  Grambas\FootballData\FootballDataServiceProvider::class,
]

'aliases' => [
  'Football' => Grambas\FootballData\Facades\FootballDataFacade::class,
]

Examples

Football::getLeagues();
Football::getLeagueFixtures($id)
Football::getFixtures($id, $matchday)
Football::getLeagueTable($id)
Football::getLeagueTeams($id)
Football::getTeam($id)
Football::getTeamPlayers($id)
Football::getTeamFixtures($id)

License

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

About

Football-Data.org Api container for Laravel 5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%