2023-05-26 12:28:57 +00:00
|
|
|
|
# 历史祈愿UP池
|
|
|
|
|
|
2023-08-23 07:56:05 +00:00
|
|
|
|
- [Caughtwind API](#caughtwind-api已弃用)
|
2023-05-26 12:28:57 +00:00
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2023-08-23 07:56:05 +00:00
|
|
|
|
## Caughtwind API(已弃用)
|
2023-05-26 12:28:57 +00:00
|
|
|
|
|
|
|
|
|
_请求方式:GET_
|
|
|
|
|
|
|
|
|
|
`https://api.21cnt.cn/genshin/banner`
|
|
|
|
|
|
|
|
|
|
**JSON返回:**
|
|
|
|
|
|
|
|
|
|
根对象:
|
|
|
|
|
|
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| --- | ---- | ---- | --- |
|
|
|
|
|
| “版本” | arr | 该版本祈愿UP池信息 | 第1个元素为上半卡池,第2个元素为下半卡池 |
|
|
|
|
|
|
|
|
|
|
“版本”数组→对象:
|
|
|
|
|
|
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| --- | ---- | ---- | --- |
|
|
|
|
|
| time | arr | 卡池的开始与结束时间的Unix时间戳 | 时间以官方发布为准,若官方未发布时间,则为空 |
|
|
|
|
|
| character | obj | 该卡池UP的角色的ID | 若角色ID未知,则为角色名称 |
|
|
|
|
|
| weapon | obj | 该卡池UP的武器的ID | 若角色ID未知,则为角色名称 |
|
|
|
|
|
|
|
|
|
|
“版本”数组→对象→`time`数组:
|
|
|
|
|
|
|
|
|
|
| 索引 | 类型 | 内容 | 备注 |
|
|
|
|
|
| --- | ---- | ---- | --- |
|
|
|
|
|
| 0 | num | 开始时间的Unix时间戳 | |
|
|
|
|
|
| 1 | num | 结束时间的Unix时间戳 | |
|
|
|
|
|
|
|
|
|
|
“版本”数组→对象→`character`对象:
|
|
|
|
|
|
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| --- | ---- | ---- | --- |
|
|
|
|
|
| 5r | arr | 五星角色的ID | |
|
|
|
|
|
| 4r | arr | 四星角色的ID | |
|
|
|
|
|
|
|
|
|
|
“版本”数组→对象→`weapon`对象:
|
|
|
|
|
|
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| --- | ---- | ---- | --- |
|
|
|
|
|
| 5r | arr | 五星武器的ID | |
|
|
|
|
|
| 4r | arr | 四星武器的ID | |
|