League Referees

get
Get Array of Referees

https://api.footystats.org/league-referees?key=YOURKEY&season_id=*
This endpoint provides an array of referees that have refereed in the particular league/season ID
Request
Response
Request
Query Parameters
season_id
required
string
Season ID of the league that you want.
key
required
string
The API will do its best to find a cake matching the provided recipe.
max_time
optional
number
UNIX timestamp. Set this number if you would like the API to return the stats of the league and the teams up to a certain time. For example, if I enter &max_time=1537984169, then the API will respond with stats as of Sept 26, 2018.
Response
200: OK
Referee list successfully retrieved.
{
success: true,
pager: {
current_page: 1,
max_page: 1,
results_per_page: 200,
total_results: 21
},
data: [
{
id: 393,
competition_id: 2012,
full_name: "Michael Oliver",
first_name: "Michael",
last_name: "Oliver",
known_as: "Michael Oliver",
shorthand: "michael-oliver",
age: 35,
league: "Premier League",
league_type: "Domestic League",
url: "https://footystats.org/referees/england-r-michael-oliver",
season: "2019/2020",
continent: "eu",
starting_year: 2019,
ending_year: 2020,
birthday: 477705600,
nationality: "England",
appearances_overall: 32,
wins_home: 11,
wins_away: 13,
draws_overall: 8,
wins_per_home: 34,
wins_per_away: 41,
draws_per: 25,
btts_overall: 63,
btts_percentage: 63,
goals_overall: 96,
goals_home: 46,
goals_away: 50,
goals_per_match_overall: 3,
goals_per_match_home: 1.44,
goals_per_match_away: 1.56,
penalties_given_overall: 5,
penalties_given_home: 2,
penalties_given_away: 3,
penalties_given_per_match_overall: 0.16,
penalties_given_per_match_home: 0.06,
penalties_given_per_match_away: 0.09,
penalties_given_percentage_overall: 16,
penalties_given_percentage_home: 6,
penalties_given_percentage_away: 9,
cards_overall: 105,
cards_home: 54,
cards_away: 51,
cards_per_match_overall: 3.28,
cards_per_match_home: 1.69,
cards_per_match_away: 1.59,
over05_cards_overall: 31,
over15_cards_overall: 27,
over25_cards_overall: 17,
over35_cards_overall: 11,
over45_cards_overall: 10,
over55_cards_overall: 5,
over65_cards_overall: 2,
over05_cards_per_match_overall: 0.97,
over15_cards_per_match_overall: 0.84,
over25_cards_per_match_overall: 0.53,
over35_cards_per_match_overall: 0.34,
over45_cards_per_match_overall: 0.31,
over55_cards_per_match_overall: 0.16,
over65_cards_per_match_overall: 0.06,
over05_cards_percentage_overall: 97,
over15_cards_percentage_overall: 84,
over25_cards_percentage_overall: 53,
over35_cards_percentage_overall: 34,
over45_cards_percentage_overall: 31,
over55_cards_percentage_overall: 16,
over65_cards_percentage_overall: 6,
yellow_cards_overall: 105,
red_cards_overall: 0,
min_per_goal_overall: 30,
min_per_card_overall: 27
},

‚Äč