curl --location 'https://us-prod.notte.cc/functions/e6de3923-311b-410d-bfe6-a8547cc52c42/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "e6de3923-311b-410d-bfe6-a8547cc52c42",
"variables": {
"sport_id": 1,
"limit": 20,
"language": "en"
}
}'
{
"count": 0,
"sport": "<string>",
"events": [
{
"sport": "<string>",
"league": "<string>",
"source": {},
"status": {
"clock": "<string>",
"period": "<string>",
"message": "<string>",
"period_id": 0,
"score_away": "<string>",
"score_home": "<string>",
"clock_seconds": 0
},
"totals": [
{
"line": 0,
"is_main": true,
"selection": "<string>",
"bet_type_id": 0,
"coefficient": 0,
"market_group_id": 0,
"displayed_coefficient": "<string>"
}
],
"country": "<string>",
"event_id": 0,
"odds_1x2": [
{
"line": 0,
"is_main": true,
"selection": "<string>",
"bet_type_id": 0,
"coefficient": 0,
"market_group_id": 0,
"displayed_coefficient": "<string>"
}
],
"sport_id": 0,
"away_team": "<string>",
"handicaps": [
{
"line": 0,
"is_main": true,
"selection": "<string>",
"bet_type_id": 0,
"coefficient": 0,
"market_group_id": 0,
"displayed_coefficient": "<string>"
}
],
"home_team": "<string>",
"league_id": 0,
"starts_at": "<string>",
"country_id": 0,
"updated_at": "<string>",
"away_team_id": 0,
"event_number": 0,
"home_team_id": 0,
"starts_at_unix": 0,
"updated_at_unix": 0
}
],
"sport_id": 0,
"fetched_at": "<string>",
"source_site": "<string>"
}