jadgray / full-time-api
A simple tool to help obtain fixture information from the FA Full-Time system.
1.0.0
2022-06-12 16:11 UTC
Requires
- php: >=7.2
- fabpot/goutte: ^3.2
- nesbot/carbon: ^1.39
Requires (Dev)
- mockery/mockery: ^1.3
- phpunit/phpunit: ^6.5
README
A simple tool to help obtain fixture information from the FA Full-Time system.
Requirements
- PHP >= 7.2
Installation
composer require jadgray/full-time-api
Basic information needed for a request
To obtain information from the Full-Time system you will need a Season ID and Group ID, these can be obtained by visiting your desired division you'd like to access and extracting these from the URL.
e.g. selectedSeason=1234 & FixtureGroupKey=1_234
Get a team list
use Jadgray\FullTimeApi\Division; $teams = (new Division())->getTeams(1234, '1_234');
Get unformatted fixtures
use Jadgray\FullTimeApi\Division; $fixtures = (new Division())->getFixtures(1234, '1_234');
Get formatted fixtures
use Jadgray\FullTimeApi\Division; $fixtures = (new Division())->getFormattedFixtures(1234, '1_234');
Get unformatted results
use Jadgray\FullTimeApi\Division; $results = (new Division())->getResults(1234, '1_234');
Get formatted results
use Jadgray\FullTimeApi\Division; $results = (new Division())->getFormattedResults(1234, '1_234');