Closed sanjams2 closed 7 years ago
It strikes me that there are good technical reasons why this API isn't available yet -- it's the sort of thing that a client is going to want to get timely updates for, so a traditional polling API request would have to be quite frequent, which would take a fair bit of resource to scale to the sorts of traffic y'all would throw at it. 😉 Some sort of eventsource/websocket API would probably work better, but that's a pattern that isn't (as far as I can see) implemented elsewhere in the API, so will require a bit of engineering effort to build out.
Personally, I don't mind if there's a public API for getting an up to date current track. What I really want is a @zapier trigger when the track I'm listening to changes, so I can hook it up without writing any code. But I'll take a 👍 here as a fallback. 😄
I wrote this bash script that lets you get information on the current Spotify. It uses the dbus message from the Spotify app to get the metadata.
+1
+1
+1
+1
+1
+1
A firehose would be most useful but I suspect this wouldn't be in Spotify's best commercial interests (understandably). For what it's worth you can connect scrobbles to Last.fm and use their API. Also, the DBUS solution is an "ok" local solution but personally I'm looking for a RESTful method.
+1
+1
+1 definitely!
I would love this. +1
+1
Actually the last.fm API is a good workaround for certain use cases. http://www.last.fm/api/show/user.getRecentTracks
+1
+1
+1
+1
@thelinmichael any updates on this feature?
I swear I waited a year before searching this down again, very disappointed it is not a thing.
+1
How is this not a thing
How about we all put our subscriptions on hold until this is in fact a thing... Github is not working, time to vote with wallets
+1
+1
yes please +1
+1
@davericher I'm for sure unsubscribing from this issue on GitHub, just keep getting +1 notifications.
+1
+1
+1
+1 Chop Chop..... ;)
+1
+1
+1
+1
+1
+1 @thelinmichael any news on that topic? I run a small Startup and we really looking forward to this 👍
+1
+1 I would love to show what is currently playing on my "whats on tap" screen for my kegarator
+1
+1
Wanted to create an easy way to basically assign a hotkey to save the currently playing track, half of which is easy as saving a track is an endpoint, the other half of which should also be easy as getting the currently playing track should be an endpoint, but isn't.
Hi @CryoBrown, are you using a Mac? If so, you can grab the currently playing Spotify track using our Applescript API. Hope that helps!
Yeah, I discovered that after a bit more digging, a bit annoying that I have to mix and match APIs and use platform specific features, but I can make it work.
+1
still waiting for this
+1
+1
Is there a way/plans of an update to the web-api that provides a way to get the song a user is currently listening to?