Deezer api搜索网址专辑封面缺失

时间:2017-01-26 08:41:11

标签: json image api search deezer

两天后,我们在这个网址上遇到了Deezer Api的问题:

http://api.deezer.com/search/autocomplete?q=Jean

在返回的对象中,相册对象和基础对象中现在缺少某些字段。 通常包含图像的字段消失了。

      {
    "id": 122440564,
    "readable": true,
    "title": "Aloha",
    "title_short": "Aloha",
    "title_version": "",
    "link": "http://www.deezer.com/track/122440564",
    "duration": 218,
    "rank": 0,
    "explicit_lyrics": false,
    "preview": "http://cdn-preview-9.deezer.com/stream/9f7248e8744c135d4878ae851d8bb881-4.mp3",
    "artist": {
      "id": 5542423,
      "name": "Møme",
      "link": "http://www.deezer.com/artist/5542423",
      "picture": "http://api.deezer.com/artist/5542423/image",
      "picture_small": "http://cdn-images.deezer.com/images/artist/6054372bc5d6dc0a2d355d5a2d55242a/56x56-000000-80-0-0.jpg",
      "picture_medium": "http://cdn-images.deezer.com/images/artist/6054372bc5d6dc0a2d355d5a2d55242a/250x250-000000-80-0-0.jpg",
      "picture_big": "http://cdn-images.deezer.com/images/artist/6054372bc5d6dc0a2d355d5a2d55242a/500x500-000000-80-0-0.jpg",
      "picture_xl": "http://cdn-images.deezer.com/images/artist/6054372bc5d6dc0a2d355d5a2d55242a/1000x1000-000000-80-0-0.jpg",
      "tracklist": "http://api.deezer.com/artist/5542423/top?limit=50",
      "type": "artist"
    },
    "album": {
      "id": 12811488,
      "title": "Aloha",
      "tracklist": "http://api.deezer.com/album/12811488/tracks",
      "type": "album"
    },
    "type": "track"
  },

我查看了Deezer Api文档,显然该版本没有变化,并且根据文档,相册对象通常包含封面相册:

http://developers.deezer.com/api/search/album

有没有人有同样的问题?我试着发推特,我也发了一封电子邮件到api@deezer.com。

1 个答案:

答案 0 :(得分:0)

已修复,我们现在已经解决了一些副作用。