curl --location 'https://us-prod.notte.cc/functions/7b66a247-ec33-4d57-9af4-2e6ce653a0d6/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "7b66a247-ec33-4d57-9af4-2e6ce653a0d6",
"variables": {
"competition_id": "premier_league",
"season": "current"
}
}'
{
"scope": "<string>",
"season": "<string>",
"matchday": "<string>",
"standings": [
{
"wins": 0,
"draws": 0,
"losses": 0,
"points": 0,
"position": 0,
"team_url": "<string>",
"goals_for": 0,
"team_name": "<string>",
"team_slug": "<string>",
"recent_form": [
{
"result": "<string>",
"source_label": "<string>"
}
],
"goals_against": 0,
"team_logo_url": "<string>",
"classification": "<string>",
"matches_played": 0,
"source_team_id": "<string>",
"goal_difference": 0
}
],
"source_url": "<string>",
"team_count": 0,
"season_code": "<string>",
"competition_id": "<string>",
"matchday_number": 0,
"competition_name": "<string>"
}