From ffa25ba78dc8f4ed8624f11e3b6f404cb799674f Mon Sep 17 00:00:00 2001 From: Liyan Zhao Date: Tue, 19 Sep 2023 13:32:42 +0800 Subject: [PATCH] Update railgun.md (#820) --- docs/creativecenter/railgun.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/creativecenter/railgun.md b/docs/creativecenter/railgun.md index 95702e714e..8b171bb68f 100644 --- a/docs/creativecenter/railgun.md +++ b/docs/creativecenter/railgun.md @@ -4,7 +4,7 @@ ## 获取电磁力等级(web端) -> https://member.bilibili.com/x/web/elec/user +> https://api.bilibili.com/studio/up-rating/v3/rating/info *请求方式:GET* @@ -26,8 +26,10 @@ | 字段 | 类型 | 内容 | 备注 | | ------ | ---- | ----------- | ---------------- | | mid | num | 当前用户mid | | -| state | num | 电磁力等级 | | -| reason | str | 空 | **作用尚不明确** | +| level | num | 电磁力等级 | | +| score | num | 电磁力分数 | | +| credit | num | 信用分 | | +| state | num | ? | 一直是2 | **示例:** @@ -45,16 +47,19 @@ curl 'https://member.bilibili.com/x/web/elec/user' \ "message": "0", "ttl": 1, "data": { - "mid": 293793435, + "mid": ***, + "level": 4, + "score": 326, + "credit": 100, "state": 2, - "reason": "" + "update_date": 1694966400 } } ``` -## 获取电磁力详细数值(双端) +## (失效)获取电磁力详细数值(双端) > https://api.bilibili.com/studio/up-rating/rating/summary