XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/bilibili-API-collect

Update relation.md (#725)

* Update relation.md * Update relation.md fix error word

95efa21
maimierjiafude <35167402+maimierjiafude@users.noreply.github.com>
提交于

代码差异

1 个文件 +34 -2
Modified docs/user/relation.md +34 -2
@@ -1582,7 +1582,7 @@ curl -G 'https://api.bilibili.com/x/relation/relations' \
1582 1582
1583 1583 | 字段 | 类型 | 内容 | 备注 |
1584 1584 | ----- | ---- | ---------- | ---- |
1585 | tagid | num | 分组 id | |
1585 | tagid | num | 分组 id | -10:特别关注<br />0:默认分组 |
1586 1586 | name | str | 分组名称 | |
1587 1587 | count | num | 分组成员数 | |
1588 1588 | tip | str | 提示信息 | |
@@ -1653,7 +1653,7 @@ curl 'https://api.bilibili.com/x/relation/tags' \
1653 1653 | access_key | str | APP 登录 Token | APP 方式必要 | |
1654 1654 | tagid | num | 分组 id | 必要 | |
1655 1655 | order_type | str | 排序方式 | 非必要 | 按照关注顺序排列:留空<br />按照最常访问排列:attention |
1656 | ps | num | 每页项数 | 非必要 | 默认为 50 |
1656 | ps | num | 每页项数 | 非必要 | 默认为 20 |
1657 1657 | pn | num | 页数 | 非必要 | 默认为1 |
1658 1658
1659 1659 **json回复:**
@@ -1675,6 +1675,38 @@ curl 'https://api.bilibili.com/x/relation/tags' \
1675 1675 | n | obj | 成员信息(n+1) | 按照添加顺序排序 |
1676 1676 | …… | obj | …… | …… |
1677 1677
1678 `data` 中的对象:
1679
1680 | 字段 | 类型 | 内容 | 备注 |
1681 | --------------- | ---- | ----------- | -------------- |
1682 | mid | num | 用户id | |
1683 | attribute | num | 0 | |
1684 | tag | null | null | |
1685 | special | num | 0 | |
1686 | contract_info | json | 空的 | |
1687 | uname | str | 用户名 | |
1688 | face | str | 头像地址 | |
1689 | sign | str | 个人简介 | |
1690 | face_nft | int | ntf头像 | |
1691 | official_verify | json | 官方认证 | 具体见下 |
1692 | vip | json | 大会员 | 参考大会员文档 |
1693 | live | json | 直播状态 | 具体见下 |
1694 | nft_icon | str | 显示nft角标 | |
1695 | rec_reason | str | | |
1696 | track_id | str | | |
1697
1698 `data`对象中的`official_verify`:
1699 | 字段 | 类型 | 内容 | 备注 |
1700 | ---- | ---- | ------------ | ---- |
1701 | type | num | 0 | |
1702 | desc | str | 官方认证内容 | |
1703
1704 `data`对象中的`live`:
1705 | 字段 | 类型 | 内容 | 备注 |
1706 | ----------- | ---- | -------- | -------------------- |
1707 | live_status | num | 0或1 | 0:未开播,1:已直播 |
1708 | jump_url | str | 直播链接 |
1709
1678 1710 **示例:**
1679 1711
1680 1712 以每页2项的方式获取了id为`207542`分组的第1页的粉丝明细,按照关注顺序