微博
微博用户信息 API
通过数字 uid 或个性域名查询用户主页资料。每次请求消耗 1 积分。
POST/api/v1/weibo/user/info
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/jsonuidstring数字用户 id
Example: 7277477906
customstring个性域名(自定义主页地址)
Example: shuqi
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/user/info", {"uid": "7277477906"})
print(result)Response
},
"response_time": 1092
}