account/rate_limit_status

关于API的访问频率限制。返回当前小时还能访问的次数。频率限制是根据用户请求来做的限制,具体可以参加频率限制说明。
URL:

http://api.t.sina.com.cn/account/rate_limit_status.format
格式:

xml, json
HTTP请求方法:

GET
是否需要登录:

true
调用频率限制:

false
返回:

XML 格式样例:



150
150
1264994233
Mon Feb 01 03:15:22 +0800 2010

JSON示例:

{”hourly_limit”:150,”reset_time_in_seconds”:1264994122,
“reset_time”:”Mon Feb 01 03:15:22 +0800 2010″,”remaining_hits”:150}

使用示例:

curl -u user:password http://api.t.sina.com.cn/account/rate_limit_status.xml

9th Feb 10. Posted in sina-api.

Using Lua With Scite »
« Rate-limiting

View or Post Comments.