Spotify API - Location

2019-06-14 13:19发布

I am trying to use "api/location" as stated in the documentation but for some reason that's always failing with error code 0, type transient, which is not really helpful. Any ideas.

var loc = location.query();  

loc.load(['latitude']).done(function(loc) {
    console.log("Lat:" + loc.latitude); 
}).fail(function(track, error){
  console.log(error); 
});  

Also, it would help if anyone can explain how the location is retrieved.

标签: spotify
1条回答
贼婆χ
2楼-- · 2019-06-14 13:48

According to the answer on this question: https://stackoverflow.com/a/20196967/1036087 the location API never actually worked and they're going to remove the documentation on it.

查看更多
登录 后发表回答