curl --location 'https://us-prod.notte.cc/functions/9458245b-0b45-4a38-bc55-451f8b83fe20/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "9458245b-0b45-4a38-bc55-451f8b83fe20",
"variables": {
"match_id": 8986129,
"timeout_seconds": 30
}
}'
{
"date": "<string>",
"score": "<string>",
"title": "<string>",
"venue": "<string>",
"events": [
{
"minute": 0,
"details": {},
"event_id": 0,
"team_name": "<string>",
"team_side": "<string>",
"event_type": "<string>"
}
],
"squads": [
{
"starters": [
{
"url": "<string>",
"name": "<string>",
"number": 0,
"captain": true,
"person_id": 0
}
],
"team_name": "<string>",
"substitutes": [
{
"url": "<string>",
"name": "<string>",
"number": 0,
"captain": true,
"person_id": 0
}
]
}
],
"details": {},
"weekday": "<string>",
"match_id": 0,
"referees": [
{
"url": "<string>",
"club": "<string>",
"name": "<string>",
"role": "<string>",
"person_id": 0
}
],
"away_team": {
"url": "<string>",
"name": "<string>",
"team_id": 0,
"logo_url": "<string>"
},
"home_team": {
"url": "<string>",
"name": "<string>",
"team_id": 0,
"logo_url": "<string>"
},
"source_url": "<string>",
"kickoff_time": "<string>"
}