curl --location 'https://us-prod.notte.cc/functions/b2f82d3f-fc58-4ca7-b466-b47eeefb11d0/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "b2f82d3f-fc58-4ca7-b466-b47eeefb11d0",
"variables": {
"sport": "football",
"day_offset": 0,
"timezone_offset": 0,
"timeout_seconds": 40
}
}'
{
"date": "<string>",
"sport": "<string>",
"source": "<string>",
"matches": [
{
"note": "<string>",
"score": {
"away": 0,
"home": 0,
"periods": [
{
"away": 0,
"home": 0,
"component": "<string>",
"source_fields": [
"<string>"
]
}
],
"away_display": 0,
"home_display": 0
},
"sport": {
"id": 0,
"name": "<string>"
},
"title": "<string>",
"status": {
"code": 0,
"type": "<string>",
"detail": "<string>",
"is_live": true,
"detail_code": 0,
"source_code": 0,
"last_updated_at": "<string>"
},
"match_id": "<string>",
"odds_1x2": "<any>",
"competition": {
"id": "<string>",
"url": "<string>",
"name": "<string>",
"path": "<string>",
"category": {
"id": 0,
"name": "<string>"
},
"logo_url": "<string>",
"stage_id": "<string>",
"full_name": "<string>",
"logo_path": "<string>",
"tournament_id": "<string>"
},
"scheduled_at": "<string>",
"source_title": "<string>",
"source_fields": {
"AJ": 0,
"AK": 0,
"AS": 0,
"AZ": 0,
"BY": 0
},
"away_participant": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"full_name": "<string>",
"logo_path": "<string>",
"short_name": "<string>",
"participant_id": "<string>"
},
"home_participant": {},
"expected_start_at": "<string>",
"scheduled_timestamp": 0,
"expected_start_timestamp": 0
}
],
"sport_id": 0,
"day_offset": 0,
"total_count": 0,
"timezone_offset": 0,
"matches_with_odds": 0
}