360 Secure SkillHub
360 安全技能中心

indycar-race-research

调用 Crawlora 提供的 SofaScore 赛车数据接口,逐级解析竞赛、赛季、赛事与场次 ID,检索 IndyCar 赛历、比赛周末场次、分类成绩和锦标赛积分榜,整理成标注来源、数据状态与 UTC 时间上下文的简报;明确不推算积分、不提供投注预测。

分类:数据
crawlora-org
crawlora-org
热度 31.78
最近更新 2026-12-02 02:13:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add crawlora-org/indycar-race-research
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
indycar-race-research
description
Research IndyCar season calendars, race weekends, sessions, classifications, and championship standings through Crawlora's public SofaScore data. Use for IndyCar event research, not motorsport betting or predictions.
allowed-tools
Bash(scripts/crawlora.sh:*)

IndyCar race research

Build a sourced IndyCar race-weekend, season, or championship brief with the endpoints in reference/endpoints.md. SofaScore's motorsport stages use separate competition IDs, season stage IDs, and race event stage IDs. Resolve each ID from the preceding discovery response. The official IndyCar schedule and results provides event context outside this SofaScore data workflow.

Resolve IndyCar seasons and races

  • Call sofascore_stage_categories with sport=motorsport and select the returned Indycar competition. Use its competition id with sofascore_stage_seasons; a competition ID is not a stage ID.
  • Pass the selected season's stage id to sofascore_stage_substages to list race events. Preserve event IDs, rounds, dates, status, venues, and winners as returned. Use sofascore_stage for an event's detail.
  • For date-based discovery, call sofascore_stage_schedule with sport=motorsport and a real UTC date. The result is a nearby schedule, not a strict one-day filter; use on_date to distinguish events whose highlighted session starts on the requested UTC date.
  • sofascore_stage_featured is a current featured snapshot, not the complete IndyCar calendar. Use season discovery and child events for full-season coverage.

Research a race weekend

  • Use sofascore_stage_substages with an event stage ID to discover the sessions the source publishes. Some weekends have multiple races; follow the returned child stages rather than assuming one race or a fixed session order.
  • Use sofascore_stage for a session's status and detail, then sofascore_stage_standings with type=competitor for its published classification. Keep practice, qualifying, starting-grid, race, and season results distinct. Preserve source row order, points, non-finishes, and omitted fields.
  • On a season stage ID, sofascore_stage_standings with type=competitor may return the published championship table. If team standings are requested, try type=team only for the selected stage and report unavailable classifications when the source returns not found; never infer team totals from driver rows.
  • Do not compute championship points, reorder source classifications, or present practice or qualifying times as finishing results or predictions.

Deliverable

Label each table as a season calendar, race event, session classification, or championship table. Include the competition, season, event, and session IDs, source status, retrieval time, and UTC context for timestamps. State when data is unfinished, missing, or unpublished. Cite the exact Crawlora endpoint and link the official IndyCar schedule for context. Do not turn results into betting picks or unsupported performance explanations.

Calling the API

# Discover the IndyCar competition and season stage IDs
scripts/crawlora.sh /sofascore/stage-categories sport=motorsport | jq '.'
scripts/crawlora.sh /sofascore/stage-seasons id=<indycar-competition-id> | jq '.'

# List races and resolve one race's sessions
scripts/crawlora.sh /sofascore/stage-substages id=<season-stage-id> | jq '.'
scripts/crawlora.sh /sofascore/stage-substages id=<race-event-stage-id> | jq '.'

# Read a session classification or season standings
scripts/crawlora.sh /sofascore/stage-standings id=<session-stage-id> type=competitor | jq '.'
scripts/crawlora.sh /sofascore/stage-standings id=<season-stage-id> type=competitor | jq '.'

Use the bundled scripts/crawlora.sh helper for requests; it keeps the API key out of command-line arguments. The helper accepts only this skill's documented GET routes.