League Players

get
Get Array of Players

https://api.footystats.org/league-players?key=YOURKEY&league_id=*
This endpoint provides an array of players that have played in the particular league/season ID. Each player object has attributes described in https://docs.football-data-api.com/d/endpoints/player-individual
Request
Response
Query Parameters
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
key
required
string
API Key provided to you.
league_id
required
number
ID of the league
200: OK
Cake successfully retrieved.
{
success: true,
data: [
{
id: 2984,
competition_id: 161,
full_name: "Petr Čech",
first_name: "Petr",
last_name: "Čech",
known_as: "Petr Čech",
shorthand: "petr-cech",
age: 36,
league: "Premier League",
league_type: "Domestic League",
season: "2017/2018",
starting_year: "2017",
ending_year: "2018",
url: "/players/czech-republic/petr-cech",
club_team_id: 59,
club_team_2_id: -1,
national_team_id: -1,
position: "Goalkeeper",
minutes_played_overall: 3040,
minutes_played_home: 1510,
minutes_played_away: 1530,
birthday: 390726000,
nationality: "Czech Republic",
continent: "eu",
appearances_overall: 34,
appearances_home: 17,
appearances_away: 17,
goals_overall: 0,

You can test this API call by using the key "example" and loading the players from the English Premier League 2018/2019 season (ID: 1625).