curl --location 'https://us-prod.notte.cc/functions/3af44078-35c8-492c-a2de-fdf64ce2d58c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3af44078-35c8-492c-a2de-fdf64ce2d58c",
"variables": {
"include_wikis": ["valorant","counterstrike","leagueoflegends","dota2"],
"hours_back": 1,
"max_matches_per_wiki": 120,
"timeout_seconds": 30
}
}'
{
"status": "<string>",
"matches": [
{
"wiki": "<string>",
"status": "<string>",
"best_of": "<string>",
"left_team": {
"side": "<string>",
"logo_url": "<string>",
"page_url": "<string>",
"is_winner": true,
"page_path": "<string>",
"page_title": "<string>",
"short_name": "<string>"
},
"match_url": "<string>",
"left_score": "<string>",
"match_path": "<string>",
"right_team": {
"side": "<string>",
"logo_url": "<string>",
"page_url": "<string>",
"is_winner": true,
"page_path": "<string>",
"page_title": "<string>",
"short_name": "<string>"
},
"match_title": "<string>",
"right_score": "<string>",
"source_page": "<string>",
"stream_links": [
{
"url": "<string>",
"title": "<string>",
"cta_text": "<string>",
"provider": "<string>"
}
],
"score_display": "<string>",
"source_tz_abbr": "<string>",
"source_tz_name": "<string>",
"start_date_pht": "<string>",
"start_time_pht": "<string>",
"timestamp_unix": 0,
"tournament_url": "<string>",
"source_page_url": "<string>",
"tournament_name": "<string>",
"tournament_path": "<string>",
"source_time_text": "<string>",
"source_tz_offset": "<string>",
"tournament_title": "<string>",
"start_time_pht_24h": "<string>",
"tournament_icon_url": "<string>"
}
],
"message": "<string>",
"failed_wikis": {},
"from_time_pht": "<string>",
"total_matches": 0,
"generated_at_pht": "<string>",
"from_timestamp_unix": 0
}