微博
微博用户关注 API
获取用户关注的账号。每次请求消耗 1 积分。
POST/api/v1/weibo/user/following
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonuidstringrequired数字用户 id。
Example: 1722594714
pageinteger结果页码,从 1 开始。取值 0-500。
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/user/following", {"uid": "1722594714"})
print(result)Response
"next_cursor": "20",
"total": 524
},
"response_time": 2044
}