curl --location 'https://us-prod.notte.cc/functions/cf7958fb-32a8-4f95-8936-9f23de04dcf9/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "cf7958fb-32a8-4f95-8936-9f23de04dcf9",
"variables": {
"competition": "PL",
"season": 0,
"timeout_seconds": 30
}
}'
{
"count": 0,
"teams": [
{
"id": 0,
"tla": "<string>",
"area": {
"id": 0,
"code": "<string>",
"flag": "<string>",
"name": "<string>"
},
"name": "<string>",
"crest": "<string>",
"squad": [
{
"id": 0,
"name": "<string>",
"position": "<string>",
"dateOfBirth": "<string>",
"nationality": "<string>"
}
],
"venue": "<string>",
"address": "<string>",
"founded": 0,
"website": "<string>",
"shortName": "<string>",
"clubColors": "<string>",
"lastUpdated": "<string>",
"runningCompetitions": [
{
"id": 0,
"code": "<string>",
"name": "<string>",
"type": "<string>",
"emblem": "<string>"
}
]
}
],
"season": {
"id": 0,
"winner": {},
"endDate": "<string>",
"startDate": "<string>",
"currentMatchday": 0
},
"competition": {
"id": 0,
"code": "<string>",
"name": "<string>",
"type": "<string>",
"emblem": "<string>"
}
}