C/2/proxy/datacenter/realtime index

跳转到: 导航, 搜索
(以“{{Api_desc_business| uri=proxy/datacenter/realtime_area| desc=获取实时地域热门博文。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}}| params={{a...”为内容创建页面)
 
第61行: 第61行:
 
//失败返回
 
//失败返回
 
{
 
{
     "request": "/proxy/datacenter/realtime_index.json",
+
     "request": "/proxy/datacenter/realtime_area.json",
 
     "error_code": 271XX,
 
     "error_code": 271XX,
 
     "error": "error message."
 
     "error": "error message."

2014年12月25日 (四) 16:53的版本

proxy/datacenter/realtime_area

获取实时地域热门博文。

URL

https://c.api.weibo.com/2/proxy/datacenter/realtime_area.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录


关于登录授权,参见 如何登录授权

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。
wid true int64 热词ID。

注意事项

返回结果

JSON示例

//成功返回
{

    "result": [
        {
            "11": [             //省份ID
                {   
                    "mid": "3740694432944615",         //博文ID
                    "uid": "3210683762",      //用户ID
                    "city": "1000"                    //地级市ID
                }
            ],
            "37": [
                {
                    "mid": "3740480162448918",
                    "uid": "3419526464",
                    "city": "1"
                },
                {
                    "mid": "3740488932410835",
                    "uid": "2439516945",
                    "city": "2"
                },
                {
                    "mid": "3740480728914970",
                    "uid": "3087269122",
                    "city": "2"
                }
            ],
            "41": [
                {
                    "mid": "3740604330212940",
                    "uid": "5130294128",
                    "city": "13"
                }
            ],
            "-1": [
                {
                    "mid": "3740524517216192",
                    "uid": "3091626073",
                    "city": "-1"
                },
                {
                    "mid": "3740705350925221",
                    "uid": "2190064330",
                    "city": "-1"
                }
            ]
        }
    ]
}
//失败返回
{
    "request": "/proxy/datacenter/realtime_area.json",
    "error_code": 271XX,
    "error": "error message."
}

关于错误返回值与错误代码,参见 错误代码说明

字段说明

其他



Language: [[{{{2/uri}}}|中文]]


api评价