esports
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEsports Data
电竞数据
Keyless, public sources. No API key, no signup.
- Dota 2 → OpenDota (). Real JSON. Free tier ~60 req/min.
api.opendota.com - League of Legends esports → Leaguepedia Cargo (). Structured rows. CC-BY-SA — attribute Leaguepedia when you reuse the data.
lol.fandom.com
无需密钥,基于公开数据源。无需API密钥,无需注册。
- Dota 2 → OpenDota()。返回标准JSON格式。免费 tier 约每分钟60次请求。
api.opendota.com - 英雄联盟电竞 → Leaguepedia Cargo()。返回结构化数据行。遵循CC-BY-SA协议——复用数据时需注明来源为Leaguepedia。
lol.fandom.com
CRITICAL
重要提示
- Dota 2 only for match/team/league data (OpenDota). LoL uses Leaguepedia Cargo.
- Leaguepedia is aggressively rate-limited. The throttle comes back as an
in-body error () on an HTTP 200 — not a 4xx. Results are cached ~30 min; don't hammer it.
Leaguepedia API error: ... - No odds here. Bookmaker odds for esports are not available keyless. For
implied-probability signals, use or
kalshi get_esports_odds --game=cs2.polymarket get_esports_events - Personal use. Third-party ToS apply (OpenDota MIT; Leaguepedia CC-BY-SA).
- Dota 2的赛事/战队/联赛数据仅通过OpenDota获取。LOL数据使用Leaguepedia Cargo。
- Leaguepedia有严格的速率限制。限流提示会以HTTP 200状态码返回的正文内错误形式呈现(),而非4xx状态码。结果会被缓存约30分钟;请勿频繁请求。
Leaguepedia API error: ... - 此处不提供赔率数据。电竞博彩赔率无无需密钥的数据源。如需隐含概率信号,请使用或
kalshi get_esports_odds --game=cs2。polymarket get_esports_events - 仅供个人使用。需遵守第三方服务条款(OpenDota采用MIT协议;Leaguepedia采用CC-BY-SA协议)。
Quick Start
快速开始
CLI:
bash
sports-skills esports get_pro_matches --limit=10
sports-skills esports get_pro_teams --limit=10
sports-skills esports get_leagues --tier=premium
sports-skills esports get_lol_tournaments --region=Korea --limit=5
sports-skills esports lol_cargo_query --tables=Teams --fields=Name,Region --limit=5Python:
python
from sports_skills import esports
esports.get_pro_matches(limit=10)
esports.get_lol_tournaments(region="Brazil")命令行(CLI):
bash
sports-skills esports get_pro_matches --limit=10
sports-skills esports get_pro_teams --limit=10
sports-skills esports get_leagues --tier=premium
sports-skills esports get_lol_tournaments --region=Korea --limit=5
sports-skills esports lol_cargo_query --tables=Teams --fields=Name,Region --limit=5Python:
python
from sports_skills import esports
esports.get_pro_matches(limit=10)
esports.get_lol_tournaments(region="Brazil")Commands
命令列表
| Command | Description |
|---|---|
| Recent Dota 2 professional matches (OpenDota) |
| Dota 2 leagues/tournaments, filter by tier (OpenDota) |
| Top Dota 2 teams by rating (OpenDota) |
| Detailed Dota 2 match by id (OpenDota) |
| Recent LoL esports tournaments (Leaguepedia) |
| Raw Leaguepedia Cargo query (any table/fields) |
| 命令 | 描述 |
|---|---|
| 近期Dota 2职业赛事数据(来自OpenDota) |
| Dota 2联赛/锦标赛,可按级别筛选(来自OpenDota) |
| 按排名排序的顶级Dota 2战队(来自OpenDota) |
| 根据ID查询Dota 2赛事详情(来自OpenDota) |
| 近期LOL电竞赛事数据(来自Leaguepedia) |
| 原始Leaguepedia Cargo查询(支持任意表/字段) |
Leaguepedia Cargo reference
Leaguepedia Cargo参考
lol_cargo_querytablesfieldsTournamentsMatchScheduleScoreboardGamesPlayersTeamslol_cargo_querytablesfieldsTournamentsMatchScheduleScoreboardGamesPlayersTeamsTroubleshooting
故障排除
- → you're being throttled. Wait and retry; the connector caches for ~30 min to help.
Leaguepedia API error: You've exceeded your rate limit - Empty /
matchesfrom OpenDota → transient; OpenDota is volunteer-run best-effort infra with no SLA. Retry.teams
- → 您已触发限流。请等待后重试;连接器会缓存结果约30分钟以避免此类问题。
Leaguepedia API error: You've exceeded your rate limit - OpenDota返回空的/
matches数据 → 临时故障;OpenDota是由志愿者维护的尽力而为型基础设施,无服务级别协议(SLA)。请重试。teams