API 端點活動查詢
前百排名
世界計畫活動前百排名查詢說明
端點資訊
取得目前活動前百玩家排名追蹤資料:
GET https://api.hisekai.org/event/live/top100取得指定活動前百玩家排名資料:
GET https://api.hisekai.org/event/[event_id]/top100[event_id]為要查詢的活動 ID
/event/[event_id]/top100 為快取資料
如要取得目前活動即時資料請使用 /event/live/top100
資料欄位
/event/live/top100 回傳的資料欄位:
| 欄位 | 類型 | 說明 |
|---|---|---|
| id | number | 活動期數 |
| end | boolean | 活動結束 |
| name | string | 活動名稱 |
| start_at | string (ISO8601) | 活動開始時間 |
| closed_at | string (ISO8601) | 活動關閉時間 |
| aggregate_at | string (ISO8601) | 活動統計時間 |
| ranking_announce_at | string (ISO8601) | 排名公告時間 |
| top_100_player_rankings | array<player> | 前 100 名玩家資料列表 |
/event/[event_id]/top100 將直接回傳原始的 API 資料