简体   繁体   English

Spotify多轨查询

[英]Spotify Multiple Tracks Lookup

I'm using the Spotify API and I need to make a multiple IDs lookup (maybe using a trackset) 我正在使用Spotify API,并且需要进行多个ID查找(也许使用轨道集)

This is the default URL pattern, but, I can pass only one ID to the uri field 这是默认的网址格式,但是我只能将一个ID传递给uri字段

http://ws.spotify.com/lookup/1/?uri=spotify:track:6NmXV4o6bmp704aPGyTVVG http://ws.spotify.com/lookup/1/?uri=spotify:track:6NmXV4o6bmp704aPGyTVVG

Is there a way I can lookup a trackset passing multiple IDS like we do on the playlist widget? 有没有办法像在播放列表小部件上一样查找通过多个IDS的轨道集?

Thank you very much 非常感谢你

In the new Spotify Web API there is an endpoint for fetching several tracks at once . 在新的Spotify Web API中,一个端点可一次获取多个轨道

If you are currently using the Metadata API, it may be worth it checking the migration guide . 如果您当前使用的是Metadata API,则值得查看迁移指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM