多条用户详细信息(users/show_batch)

  1. 接口

    URL https://openapi.youku.com/v2/users/show_batch.json
    HTTP方法 POST
    返回格式 json
    授权/登录 true
  2. 参数

    参数 类型 必选 默认值 说明 示例
    client_id string true   应用Key  
    user_ids string false   用户ID,多个用逗号分隔  
    user_names string false   用户名,多个用逗号分隔  
  3. 返回结果

    3.1 字段说明

    user 用户

    参数 类型 允许为空 说明 示例
    id int false   用户ID
    name string false   用户名
    link string false   用户地址
    avatar string false   头像
    avatar_large string false   大头像
    gender string true   性别 男:m 女:f 未知:u
    description string true   描述
    videos_count int false   总视频数
    playlists_count int false   总专辑数
    favorites_count int false   总收藏视频数
    followers_count int false   粉丝数
    following_count int false   关注数
    statuses_count int false   动态数
    subscribe_count int false   被订阅数
    vv_count int false   总视频播放数
    regist_time string false   注册时间


3.2 JSON

 {
   "total" : 2,
   "users" :
   [
   {
           "id" : 2071704,
           "name" : "panzhiqi",
           "link" : "http://i.youku.com/u/id_UODI4NjgxNg==.html",
           "avatar" : "http://static.youku.com/v0.5.0100/user/img/head/64/101.jpg",
           "avatar_large" : "http://static.youku.com/v0.5.0100/user/img/head/150/101.jpg",
           "gender" : "m",
           "description" : "我是一枚程序男",
           "videos_count" : 5,
           "playlists_count" : 2,
           "favorites_count" : 10,
           "followers_count" : 0,
           "followings_count" : 0,
           "statuses_count" : 0,
           "following" : false,
           "follower" : false,
           "regist_time" : "2007-01-01 00:00:00"
   },
   {
           "id": "87919223",
           "name": "okingskyo",
           "gender": "m",
           "description": "我勒个去",
           "link": "http://i.youku.com/u/UMzUxNjc2ODky",
           "avatar": "http://static.youku.com/v1.0.0742/user/img/head/64/999.jpg",
           "avatar_large": "http://static.youku.com/v1.0.0742/user/img/head/150/999.jpg",
           "videos_count": "0",
           "playlists_count": "0",
           "favorites_count": "1",
           "followers_count": 0,
           "following_count": 11,
           "statuses_count": 0,
           "regist_time": "2011-05-24 14:20:32",
           "following": false,
           "follower": false
   }
   ]
 }