赛事阶段积分榜 (Event Standings)
获取赛事的各赛段分组积分榜与晋级排名,多赛段自动并发获取,支持可选赛段过滤。
event.standings(event_id) 返回赛事的分组积分与名次排行,按赛段自动分类。针对多赛段锦标赛支持并行网络抓取(最高 5 个并发),以提供极致的响应性能。
方法签名
event.standings(
event_id: int,
stage: str | None = None,
) -> EventStandings请求参数
Prop
Type
返回类型 - EventStandings
EventStandings 封装了 EventStageStandings 对象列表,支持标准的 Python 容器协议(__len__、__iter__、__getitem__)。
Prop
Type
EventStageStandings 字段明细
Prop
Type
StandingEntry 字段明细
Prop
Type
TeamStanding 字段明细
Prop
Type
代码示例
import vlrdevapi
standings = vlrdevapi.event(2765).standings()
for stage in standings:
print(f"\n--- {stage.stage_name} ---")
for entry in stage.standings[:3]:
prize = f"{entry.prize_currency}{entry.prize_money:,}" if entry.prize_money else "无奖金"
print(f"{entry.place}: {entry.team.name} | {prize}")最后更新于