curl --location 'https://us-prod.notte.cc/functions/f6a2ff50-3ef1-4f2f-8f4f-6125a1718d8e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "f6a2ff50-3ef1-4f2f-8f4f-6125a1718d8e",
"variables": {
"team": "Hanshin Tigers",
"auto_update": false
}
}'
{
"site": "<string>",
"team": "<string>",
"season": 0,
"pitchers": [
{
"wins": 0,
"balks": 0,
"games": 0,
"holds": 0,
"saves": 0,
"losses": 0,
"pitcher": "<string>",
"shutouts": 0,
"strikeouts": 0,
"earned_runs": 0,
"hit_batters": 0,
"hold_points": 0,
"hits_allowed": 0,
"runs_allowed": 0,
"wild_pitches": 0,
"batters_faced": 0,
"no_walk_games": 0,
"walks_allowed": 0,
"complete_games": 0,
"innings_pitched": "<string>",
"home_runs_allowed": 0,
"intentional_walks": 0,
"earned_run_average": 0,
"throws_left_handed": true,
"winning_percentage": 0
}
],
"team_code": "<string>",
"auto_update": true,
"games_scanned": 0,
"stats_through": "<string>"
}