Skip to content

jadgray/FullTimeApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FullTimeApi

PHP Unit Tests

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');

Example output

Get unformatted fixtures

    use Jadgray\FullTimeApi\Division;
    
    $fixtures = (new Division())->getFixtures(1234, '1_234');

Example output

Get formatted fixtures

    use Jadgray\FullTimeApi\Division;
    
    $fixtures = (new Division())->getFormattedFixtures(1234, '1_234');

Example output

Get unformatted results

    use Jadgray\FullTimeApi\Division;
    
    $results = (new Division())->getResults(1234, '1_234');

Example output

Get formatted results

    use Jadgray\FullTimeApi\Division;
    
    $results = (new Division())->getFormattedResults(1234, '1_234');

Example output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Languages