curl --location 'https://us-prod.notte.cc/functions/3e8b8496-db67-410d-9844-aa0633f2d5c3/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3e8b8496-db67-410d-9844-aa0633f2d5c3",
"variables": {
"player_id": 961995,
"season_start": "",
"season_end": "",
"league_id": 0,
"limit": 60,
"timeout_seconds": 25
}
}'
{
"matches": [
{
"goals": 0,
"stage": "<string>",
"rating": 0,
"assists": 0,
"is_home": true,
"outcome": "<string>",
"started": true,
"team_id": 0,
"date_utc": "<string>",
"match_id": 0,
"on_bench": true,
"home_away": "<string>",
"red_cards": 0,
"team_name": "<string>",
"away_score": 0,
"home_score": 0,
"player_score": 0,
"yellow_cards": 0,
"is_top_rating": true,
"competition_id": 0,
"match_page_url": "<string>",
"minutes_played": 0,
"opponent_score": 0,
"played_in_match": true,
"starting_status": "<string>",
"competition_name": "<string>",
"opponent_team_id": 0,
"lineup_position_id": 0,
"opponent_team_name": "<string>",
"player_of_the_match": true
}
],
"player_id": 0,
"match_count": 0,
"player_name": "<string>"
}