spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983 stars 79 forks source link

Retrieve Charts data (Global Top 50, Per Country Top 50, etc.) #33

Open nicolaka opened 9 years ago

nicolaka commented 9 years ago

Basically, revive the Charts endpoint to get top/viral tracks.

jsimonsson commented 9 years ago

Hey! Thanks for your suggestion. This is in our roadmap. I cannot give you any date on when it would finished.

Could you please post your use cases for it?

nicolaka commented 9 years ago

Hello Johan!

Use case is that i'm developing an app that would help users discover music easier and Top Charts are crucial for easier discovery of top tracks. Hope this helps! Any idea on target date? is it a matter of months? I see that this was supported previously so not sure why was it discontinued?

Thanks!

On Tue, Apr 21, 2015 at 4:17 AM, Johan Simonsson notifications@github.com wrote:

Hey! Thanks for your suggestion. This is in our roadmap. I cannot give you any date on when it would finished.

Could you please post your use cases for it?

— Reply to this email directly or view it on GitHub https://github.com/spotify/web-api/issues/33#issuecomment-94751172.

Nicola S. Kabar University of Michigan 2010 Aerospace Engineering B.S.E Engineering International Minor nicolaka@umich.edu (734) 709 -0128

"It is difficult to say what is impossible, for the dream of yesterday is the hope of today and the reality of tomorrow." - Robert H.Goddard

digitaldesaster commented 9 years ago

+1

Imho there is no need for an new api call. Just add a two new Categories ("charts", "viral").

https://api.spotify.com/v1/browse/categories/{category_id}/playlists

crocodele commented 9 years ago

+1

thelinmichael commented 9 years ago

@nicolaka, apologies for the delay. We're working on replacing the infrastructure that was discontinued, so the aim is to have at least the same functionality as that API. I can't go further into the reasoning behind why it was discontinued I'm afraid. I can't give a timeline on when it'll be available unfortunately, but we'll update this issue when it is.

@digitaldesaster, although that'd suffice for some use cases, it'd be even better to have additional metadata than just tracks in a list. For example, we could include previous positions.

bobvanratingen commented 9 years ago

+1

jolantz commented 9 years ago

+1

mrmike commented 8 years ago

Any update on this? Does it sound right to use api from spotifycharts.com?

For example:

https://spotifycharts.com/api/?type=regional&country=global&recurrence=daily&date=latest&limit=30&offset=0
hrldcpr commented 8 years ago

@mrmike downside of that endpoint is it doesn't support jsonp, so you can't do it purely in the browser :sob:

hrldcpr commented 8 years ago

You can wrap the spotifycharts.com API in this guy's API wrapper though, and cross domains to your heart's content! - https://jsonp.afeld.me/

asmitter commented 8 years ago

@mrmike @hrldcpr The API on spotifycharts.com is intended for internal consumption by that site, and is not an officially supported part of our Web API, so it is likely to change or go away at any time.

We're still looking at bringing out a public API. What are your use cases?

woniesong92 commented 8 years ago

Any update on this?

appdrop commented 8 years ago

Hey @asmitter and @thelinmichael. I develop little stats app that employers of music label use on a daily basis (around 100 users).

So far we used charts.spotify.com, then spotifycharts.com, then Spotify Playlists API.

Could someone help me and explain where do you have correct numbers? HTML version of spotifycharts.com display one data (when 'latest' choosen), csv file downloded form same site with name "regional-global-daily-_latest_.csv" shows other data (look at screenshot) and Playlists API (like "Top 50 in ...") show different data that can be same as .csv from last day from spotifycharts.com.

What source can we trust? When and how numbers get updated? Who should I contact to ask?

screen shot 2016-06-09 at 4 08 26 pm

appdrop commented 8 years ago

@thelinmichael any thoughts on my question? Should I provide more clear details?

thelinmichael commented 8 years ago

@EliasKovv, Thanks for the heads up. We need to chase on these issues internally to make sure that the provided data is consistent. The spotifycharts.com site and the CSV files it provides should be the source of truth, and they should be the same. Anything else is considered a bug. I've checked that the site's UI and the CSV is consistent right now and they are. Appreciate if report if you see differences in the future.

Our aim is to expose the Charts endpoints publicly, but we've chosen to not do so for the time being. Any changes to the availability of these endpoints will be announced on the usual channels (@SpotifyPlatform, Change Log) as well as in this issue ticket.

ghost commented 8 years ago

Should be cool to have "Album charts" like this: https://itunes.apple.com/us/rss/topalbums/limit=10/xml or even cooler: https://itunes.apple.com/us/rss/topalbums/limit=10/genre=21/xml

scgough commented 7 years ago

+1 on this. I'd like to be able to access top 100 tracks (by country)

appdrop commented 7 years ago

@gnumdk Just a quick hidden feature we found on iTunes Chart — you can access json version like this https://itunes.apple.com/us/rss/topalbums/limit=200/json

lunax28 commented 6 years ago

Hi @thelinmichael ! Any update on this? It'd be great to be able to retrieve charts based on countries and genres à la Apple Music.

willsmillie commented 6 years ago

It's been 3 years since this was opened... Is it safe to assume we will not be getting this functionality?

heylookalive commented 6 years ago

Is there any update on this?

raphaelarias commented 6 years ago

Updates?

PatheticMustan commented 5 years ago

... Updates? Anybody?

SuN-80 commented 5 years ago

Here is a quick trick: you can use the "get-playlist" endpoint to retrieve the "global top 50" (37i9dQZEVXbMDoHDwVN2tF) and/or "viral 50 global" (37i9dQZEVXbLiRSasKsNU9) charts data, updated on a daily basis.

You can also get charts by country, here is the Playlist ID for France: 37i9dQZEVXbIPWwFssbupI To find those playlist IDs, search Google using this query: site:open.spotify.com +"Top 50 on Spotify".

Hope this helps.

p15theo2 commented 5 years ago

I know its been a long time ... but are there any updates ?

alberduris commented 5 years ago

This definitely should be added to the API.

I think most developers end using this service, which is not the official :(

PatheticMustan commented 5 years ago

I actually had to do a nasty solution by scraping that site every few days and displaying those results.

retnikt commented 4 years ago

I would like to access the most popular artists via API for a game I am working on

richardrosales commented 4 years ago

I actually had to do a nasty solution by scraping that site every few days and displaying those results.

Any chance you can share?

PatheticMustan commented 4 years ago

You can use https://jsonp.afeld.me/ to get data from spotify charts, and do whatever you want with it there. Really wish there was an official API for it...