Update railgun.md (#820)

This commit is contained in:
Liyan Zhao 2023-09-19 13:32:42 +08:00 committed by GitHub
parent 5603b1acbd
commit ffa25ba78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
## 获取电磁力等级web端 ## 获取电磁力等级web端
> https://member.bilibili.com/x/web/elec/user > https://api.bilibili.com/studio/up-rating/v3/rating/info
*请求方式GET* *请求方式GET*
@ -26,8 +26,10 @@
| 字段 | 类型 | 内容 | 备注 | | 字段 | 类型 | 内容 | 备注 |
| ------ | ---- | ----------- | ---------------- | | ------ | ---- | ----------- | ---------------- |
| mid | num | 当前用户mid | | | mid | num | 当前用户mid | |
| state | num | 电磁力等级 | | | level | num | 电磁力等级 | |
| reason | str | 空 | **作用尚不明确** | | score | num | 电磁力分数 | |
| credit | num | 信用分 | |
| state | num | ? | 一直是2 |
**示例:** **示例:**
@ -45,16 +47,19 @@ curl 'https://member.bilibili.com/x/web/elec/user' \
"message": "0", "message": "0",
"ttl": 1, "ttl": 1,
"data": { "data": {
"mid": 293793435, "mid": ***,
"level": 4,
"score": 326,
"credit": 100,
"state": 2, "state": 2,
"reason": "" "update_date": 1694966400
} }
} }
``` ```
</details> </details>
## 获取电磁力详细数值(双端) ## (失效)获取电磁力详细数值(双端)
> https://api.bilibili.com/studio/up-rating/rating/summary > https://api.bilibili.com/studio/up-rating/rating/summary