我的专辑(playlists/by_me)

  1. 接口

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

    参数 类型 必选 默认值 说明 示例
    client_id string true   应用Key  
    access_token string true   OAuth2授权
    获取access_token接口
    手动获取access_token
     
    orderby string false published 排序 published: 发布时间 view-count: 总播放数 published
    page int false 1 页数 1
    count int false 20 页大小 20
  3. 返回结果

    3.1 字段说明

    playlist 专辑

    参数 类型 允许为空 说明 示例
    id int false   专辑ID
    name string false   专辑名称
    link string false   专辑链接
    play_link string false   专辑播放链接
    thumbnail string false   专辑截图
    video_count int false   专辑视频数量
    view_count int false   专辑总播放数
    duration int false   专辑总时长,单位:秒
    published string false   发布时间

    user 发布用户

    参数 类型 允许为空 说明 示例
    id int false   用户ID
    name string false   用户名
    link string false   用户个人空间地址

    3.2 JSON


    {
           "total" : 100,
           "page" : 1,
           "count" : 20,
           "playlists" :
           [
               {
                   "id" : 6450536,
                   "name" : "哪里都能看海呀!!",
                   "link" : "http://www.youku.com/playlist_show/id_6450536.html",
                   "play_link" : "http://v.youku.com/v_playlist/f6450536o1p0.html",
                   "thumbnail" : "http://g4.ykimg.com/0100641F464E1FC...",
                   "video_count" : 15,
                   "view_count" : 208494,
                   "duration" : 2571,
                   "published" : "2011-07-15 09:00:42"
               },
               …
           ]
       }