简体   繁体   中英

How to know if song available in a country or not

如何确定某个国家/地区是否提供歌曲,因此可以使用Android Spotify SDK或Web API根据此信息启用/禁用我的应用程序功能。

Have to use the web-api

I found this forum post that helped me find the answer on a forum post in quora with the title "What website lists Spotify music availability per country" I would have linked it but I don't have enough reputation to post more than 2 links.

Go to for an explanation of the features available through the web-api https://developer.spotify.com/web-api/migration-guide/

Can test looking up track availability at this link https://developer.spotify.com/web-api/console/get-track/#complete

I found web api to solve your problem that provide you a country code,

have look this https://github.com/spotify/web-api/issues/535 link, this link provide you available_markets

https://labs.spotify.com/2015/03/09/understanding-spotify-web-api/

Parse JSON object with multiple levels Android

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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