【问题标题】:Spotify API: Get an Artist based on the name not the artist's IDSpotify API:根据名称而不是艺术家的 ID 获取艺术家
【发布时间】:2017-07-15 15:52:10
【问题描述】:

端点声明您必须使用其 Spotify ID 来获取其信息。有没有办法使用艺术家的名字而不是 ID 来实现这一点?

GET https://api.spotify.com/v1/artists/{artist-name}

【问题讨论】:

    标签: api web web-applications spotify


    【解决方案1】:

    您可以想象,有许多同名或相似的艺术家!您应该使用Search endpoint 来搜索艺术家。这将返回一个带有 ID 的艺术家对象,您可以在以后的调用中使用它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-11
      • 1970-01-01
      相关资源
      最近更新 更多