curl --location 'https://us-prod.notte.cc/functions/c7ee3d07-ffbd-49b1-a5d3-414af9e3b507/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "c7ee3d07-ffbd-49b1-a5d3-414af9e3b507",
"variables": {
"date": "today",
"country_code": "gb"
}
}'
{
"meetings": [
{
"id": 0,
"date": "<string>",
"races": [
{
"id": 0,
"slug": "<string>",
"title": "<string>",
"status": {
"state": "<string>"
},
"race_type": "<string>",
"prize_text": "<string>",
"race_class": "<string>",
"title_full": "<string>",
"track_type": "<string>",
"track_condition": "<string>",
"runner_count_text": "<string>",
"distance_formatted": "<string>",
"rating_limit_range": "<string>",
"start_time_scheduled": "<string>",
"eligibility_formatted": "<string>"
}
],
"track": {
"id": 0,
"name": "<string>",
"slug": "<string>",
"tv_channel": "<string>",
"country_code": {
"iso": "<string>",
"racing": "<string>"
}
},
"status": {
"state": "<string>"
},
"weather_icon": "<string>",
"track_condition": "<string>"
}
],
"country_code": "<string>",
"meeting_date": "<string>"
}