curl --request GET \
--url https://sandbox.api.fantasyfutbol.app/v1/player/{id} \
--header 'x-api-key: <api-key>'{
"statusCode": 123,
"message": "<string>",
"data": {
"id": 123,
"league_id": 123,
"first_name": "<string>",
"last_name": "<string>",
"form": 123,
"team": "<string>",
"team_short_name": "<string>",
"position": "<string>",
"price": 123,
"points_per_game": 123,
"created_at": "2023-11-07T05:31:56Z",
"weekly_stats": [
{
"id": "<string>",
"goals": 123,
"saves": 123,
"points": 123,
"result": "Win",
"assists": 123,
"game_week": "<string>",
"red_cards": 123,
"opposition": "<string>",
"bonus_points": 123,
"clean_sheets": 123,
"yellow_cards": 123,
"games_started": 123,
"penalty_saves": 123,
"goals_conceded": 123,
"minutes_played": 123,
"penalty_missed": 123,
"bonus_points_scores": 123
}
],
"stats_total": {
"goals": 123,
"saves": 123,
"points": 123,
"assists": 123,
"red_cards": 123,
"bonus_points": 123,
"clean_sheets": 123,
"yellow_cards": 123,
"games_started": 123,
"goals_conceded": 123,
"minutes_played": 123,
"penalty_missed": 123,
"bonus_points_scores": 123
}
}
}curl --request GET \
--url https://sandbox.api.fantasyfutbol.app/v1/player/{id} \
--header 'x-api-key: <api-key>'{
"statusCode": 123,
"message": "<string>",
"data": {
"id": 123,
"league_id": 123,
"first_name": "<string>",
"last_name": "<string>",
"form": 123,
"team": "<string>",
"team_short_name": "<string>",
"position": "<string>",
"price": 123,
"points_per_game": 123,
"created_at": "2023-11-07T05:31:56Z",
"weekly_stats": [
{
"id": "<string>",
"goals": 123,
"saves": 123,
"points": 123,
"result": "Win",
"assists": 123,
"game_week": "<string>",
"red_cards": 123,
"opposition": "<string>",
"bonus_points": 123,
"clean_sheets": 123,
"yellow_cards": 123,
"games_started": 123,
"penalty_saves": 123,
"goals_conceded": 123,
"minutes_played": 123,
"penalty_missed": 123,
"bonus_points_scores": 123
}
],
"stats_total": {
"goals": 123,
"saves": 123,
"points": 123,
"assists": 123,
"red_cards": 123,
"bonus_points": 123,
"clean_sheets": 123,
"yellow_cards": 123,
"games_started": 123,
"goals_conceded": 123,
"minutes_played": 123,
"penalty_missed": 123,
"bonus_points_scores": 123
}
}
}