curl --location 'https://us-prod.notte.cc/functions/51cee978-e701-4ed8-a02d-a48ef0cc8d5f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "51cee978-e701-4ed8-a02d-a48ef0cc8d5f",
"variables": {
"team_id": 9825,
"season": "",
"max_pages": 10,
"timeout_seconds": 20
}
}'
{
"mode": "<string>",
"team_id": 0,
"fixtures": [
{
"id": 0,
"away": {
"id": 0,
"name": "<string>",
"score": 0
},
"home": {
"id": 0,
"name": "<string>",
"score": 0
},
"result": 0,
"status": {
"reason": {
"long": "<string>",
"short": "<string>",
"longKey": "<string>",
"shortKey": "<string>"
},
"awarded": true,
"started": true,
"utcTime": "<string>",
"finished": true,
"scoreStr": "<string>",
"cancelled": true,
"matchDateTbd": true,
"matchTimeTbd": true
},
"is_home": true,
"pageUrl": "<string>",
"opponent": {
"id": 0,
"name": "<string>",
"score": 0
},
"utc_time": "<string>",
"notStarted": true,
"tournament": {
"name": "<string>",
"leagueId": 0
},
"league_name": "<string>",
"match_status": "<string>",
"displayTournament": true
}
],
"team_name": "<string>",
"latest_season": "<string>",
"pages_fetched": 0,
"requested_season": "<string>"
}