📌 快速访问
- JSON格式: /weibo/user/7230522444?format=json&count=10
- RSS格式: /weibo/user/7230522444?format=rss&count=10
- 自定义用户ID: /weibo/user/{userId}?format=json|rss&count=10
📖 API 文档
GET
/weibo/user/:userId
获取指定用户的微博列表
| 参数名 | 类型 | 必需 | 说明 | 示例 |
|---|---|---|---|---|
| userId | string | 是 | 微博用户ID | 7230522444 |
| format | string | 否 | 返回格式,可选值: json | rss,默认为 rss |
json |
| count | number | 否 | 获取微博数量,默认为 10 | 20 |
| filter | string | 否 | 内容过滤,只返回包含该字段的微博 | 春节 |
返回示例:
/weibo/user/7230522444?format=json&count=10
GET
/weibo/search/:keyword
搜索微博
| 参数名 | 类型 | 必需 | 说明 | 示例 |
|---|---|---|---|---|
| keyword | string | 是 | 搜索关键词 | 微博 |
| format | string | 否 | 返回格式,可选值: json | rss,默认为 rss |
json |
| count | number | 否 | 获取结果数量,默认为 10 | 15 |
| filter | string | 否 | 内容过滤,只返回包含该字段的微博 | 官方 |
加载中...