C/2/project/esteelauder

跳转到: 导航, 搜索
(以“{{Api_desc_business| uri=project/esteelauder| desc=雅诗兰黛项目接口。| httpMethod=GET| needAuth=true| rateLimit={{B_rate_limit}}| params=| result= <pre> //...”为内容创建页面)
 
 
(未显示1个用户的3个中间版本)
第8行: 第8行:
 
result=
 
result=
 
<pre>
 
<pre>
//成功返回
 
 
{
 
{
    "3488846782126089": 1,
+
        errno: 1,
    "3488846782246082": 0
+
        msg: "成功",
}
+
        code: "B00001",
//失败返回
+
        result: {
{
+
                    uid: "1111681197",
    "request": "/2/attitudes/exists.json",
+
                    avg_online_dura: "2300.25",  //平均刷微博时长
    "error_code": "243XX",
+
                    last_hour:      [
    "error": "error message."
+
                              {
 +
                                          dt: "20180619",  //日期
 +
                                          val: "03"  //最晚在线时间
 +
                                }
 +
                    ],
 +
                    play_time: [
 +
                              {
 +
                                          dt: "20180706", //日期
 +
                                          val:  {
 +
                                              max_play_time: "784.57",  //最大视频观看时长
 +
                                              sum_play_time: "3370.26" //视频总观看时长
 +
                                          }
 +
                                }
 +
                    ]
 +
        }
 
}
 
}
 +
 
</pre>|
 
</pre>|
 
resultDes=无|
 
resultDes=无|
 
useAge=无|
 
useAge=无|
 
otherInfo=无
 
otherInfo=无
}}{{#a:showgrade}}
 
 
 
 
{{Api_desc_business_en|
 
uri=attitudes/to_me/biz|
 
desc=Return the like list of currently logged-in user received.|
 
httpMethod=GET|
 
needAuth=true|
 
rateLimit={{B_rate_limit_en}}|
 
params={{api_args|page|false|int|The number of returned page, default is 1.}}
 
{{api_args|count|false|int|The returned result count for every page, the max count is 200, default is 50. }}
 
{{api_args|since_id|false|int64|If passing this parameter, it only returns like id that is bigger than since_id (The time of like id created later than since_id), default is 0. }}
 
{{api_args|max_id|false|int64|If passing this parameter, it only returns like id that is smaller than max_id, default is 0 }}|
 
result=
 
<pre>
 
//成功返回
 
{
 
    "attitudes": [
 
        {
 
            "id": 3479706106103106,
 
            "created_at": "Thu Aug 16 17:40:44 +0800 2012",
 
            "attitude": "smile",
 
            "last_attitude": "smile",
 
            "source": "<a href=\"http://meyou.weibo.com\" rel=\"nofollow\">密友</a>",
 
            "user": {
 
                ... // 对微博赞的用户user信息
 
            },
 
            "status": {
 
                ... // 被赞的微博status信息
 
            }
 
        },
 
        ...
 
    ],
 
    "hasvisible": false,
 
    "previous_cursor": 0,
 
    "next_cursor": 0,
 
    "total_number": 1
 
}
 
//失败返回
 
{
 
    "request": "/2/attitudes/to_me.json",
 
    "error_code": "243XX",
 
    "error": "error message."
 
}
 
</pre>|
 
resultDes=none|
 
useAge=none|
 
otherInfo=none
 
 
}}{{#a:showgrade}}
 
}}{{#a:showgrade}}

2018年7月26日 (四) 16:18的最后版本

project/esteelauder

雅诗兰黛项目接口。

URL

https://c.api.weibo.com/2/project/esteelauder.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录

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

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

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

注意事项

返回结果

JSON示例

{
        errno: 1,
        msg: "成功",
        code: "B00001",
        result: {
                     uid: "1111681197",
                     avg_online_dura: "2300.25",  //平均刷微博时长
                     last_hour:      [
                               {
                                          dt: "20180619",  //日期
                                          val: "03"  //最晚在线时间
                                }
                    ],
                    play_time: [
                               {
                                          dt: "20180706",  //日期
                                          val:  {
                                               max_play_time: "784.57",  //最大视频观看时长
                                               sum_play_time: "3370.26"  //视频总观看时长
                                          }
                                }
                     ]
        }
}


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

字段说明

其他



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


文档更新时间: 2018-07-26
api评价