C/2/videos/play counts/biz-en
Yunhao (讨论 | 贡献)
(以“{{Api_desc_business-en| uri=videos/play_count/biz| desc=get the play count and number of audience of an authorized video. | httpMethod=GET| needAuth=true| rateLimit=...”为内容创建页面)
下一编辑→
(以“{{Api_desc_business-en| uri=videos/play_count/biz| desc=get the play count and number of audience of an authorized video. | httpMethod=GET| needAuth=true| rateLimit=...”为内容创建页面)
下一编辑→
2017年12月27日 (三) 17:19的版本
videos/play_count/biz
get the play count and number of audience of an authorized video.
URL
https://c.api.weibo.com/2/videos/play_count/biz.json
Supported Formats
JSON
HTTP Request Method
GET
Login Requirement
true
See Login and Authorization for details.
Authorized Access Limitation
Request for all the business API:
- 50000 times per hour per IP;
- 50000 times per hour per IP;
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth, and is required when using other authorization methods. The value of this parameter is AppKey. |
access_token | false | string | This parameter is required when using OAuth, and is not needed when using other authorization methods. You will get the access_token after obtaining OAuth. |
oid | true | string | object id that needs to be searched |
starttime | true | string | format:yyyy-MM-dd |
endtime | true | string | format:yyyy-MM-dd |
Notes
- Only calculate the data of a video since it is published within 7 days.
Response
JSON Example
{ "oid": 12432140, "result": [ { "day_key": "2016-06-01", " play": "987",//play count "play_cnt": "41"//number of audience } ] }
Please see Error Code Description for details of error information.
Field Description
None
Others
None