C/2/commercial/get count
第26行: | 第26行: | ||
comment_to_me_count: "0", //用户收到的评论(comments/to_me/other)返回量 | comment_to_me_count: "0", //用户收到的评论(comments/to_me/other)返回量 | ||
comment_timeline_count: "0", //用户发出和收到的评论(comments/timeline/other)返回量 | comment_timeline_count: "0", //用户发出和收到的评论(comments/timeline/other)返回量 | ||
− | comment_mention_count: "0", //@某人的评论(comments/mentions/other)返回量 | + | comment_mention_count: "0", //@某人的评论(comments/mentions/other)返回量 |
+ | place_nearby_users:"23", //获取附近的人(/place/nearby_users/list/biz)返回量 | ||
+ | place_nearby_send_users:"20", //获取附近发微博的人(/place/nearby/users/biz)返回量 | ||
+ | place_pois:"10", //获取附近地点(/place/nearby/pois/biz)返回量 | ||
+ | place_pois_users:"0", //获取在某个地点签到人列表(/place/pois/users/biz)返回量 | ||
+ | place_nearby_timeline:"40", //获取某个位置周边的动态(/place/nearby_timeline/biz)返回量 | ||
+ | place_poi_timeline:"0", //获取某个位置地点的动态(/place/poi_timeline/biz)返回量 | ||
+ | attitudes_show:"0", //获取微博的赞列表(/attitudes/show/biz)返回量 | ||
} | } | ||
</pre>| | </pre>| |
2017年11月3日 (五) 16:43的最后版本
commercial/get_count
获取当前应用的配额消耗 。
URL
https://c.api.weibo.com/2/commercial/get_count.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
date | true | string | 查询日期,格式为XXXX-XX-XX。 |
注意事项
无
返回结果
JSON示例
{ sub_count: { //订阅服务配额消耗 10134: "0" }, search_count: "339268", //搜索接口(search/statuses/limited)返回量 history_search_count: "0", //异步下载接口(search/statuses/historical/create)返回量 total_count: "29214936", //总配额消耗量 repost_status_count: "67784", //转发微博(statuses/repost_timeline/all)使用量 user_mention_count: "0", //@某人的微博(statuses/mentions/other)返回量 user_batch_count: "57722", //批量获取用户微博(statuses/user_timeline_batch)返回量 user_timeline_other_count: "0", //获取其他用户微博(statuses/user_timeline_other)返回量 user_place_count: "0", //位置(place/user_timeline/other)返回量 comment_show_count: "34466", // 微博评论(comments/show/all)返回量 comment_by_me_count: "0", //用户发出的评论(comments/by_me/other)返回量 comment_to_me_count: "0", //用户收到的评论(comments/to_me/other)返回量 comment_timeline_count: "0", //用户发出和收到的评论(comments/timeline/other)返回量 comment_mention_count: "0", //@某人的评论(comments/mentions/other)返回量 place_nearby_users:"23", //获取附近的人(/place/nearby_users/list/biz)返回量 place_nearby_send_users:"20", //获取附近发微博的人(/place/nearby/users/biz)返回量 place_pois:"10", //获取附近地点(/place/nearby/pois/biz)返回量 place_pois_users:"0", //获取在某个地点签到人列表(/place/pois/users/biz)返回量 place_nearby_timeline:"40", //获取某个位置周边的动态(/place/nearby_timeline/biz)返回量 place_poi_timeline:"0", //获取某个位置地点的动态(/place/poi_timeline/biz)返回量 attitudes_show:"0", //获取微博的赞列表(/attitudes/show/biz)返回量 }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无
文档更新时间: 2017-11-03