jadgray / full-time-api
A simple tool to help obtain fixture information from the FA Full-Time system.
2.0.0
2024-09-05 19:40 UTC
Requires
- php: ^8.1
- ext-dom: *
- ext-libxml: *
- nesbot/carbon: ^3.0
Requires (Dev)
- laravel/pint: ^1.17
- mockery/mockery: ^1.6
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^10.0.0
README
A simple tool to help obtain fixture information from the FA Full-Time system.
Requirements
- PHP >= 8.1
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');