[Web API] Add WebSockets to the Web API for sending real-time events

[Web API] Add WebSockets to the Web API for sending real-time events

Add WebSockets to the Web API for sending real-time events like play, pause, skip and more. This way the users of the API will not have to make frequent requests for these kinds of data and will get the data when these events happens. This will really help library devs like me and will save a lot of unnecessary requests to your servers. I'll suggest making it on the line of Discords Gateway API.

Reply
2 Replies

I was just thinking this. This is holding Spotify dependent innovation behind. I'm working on a embedded system and if another streaming service had to offer web sockets, I would ditch Spotify. I would also have to tell my customers that my product wont work with Spotify.

People have been asking for this from Spotify for years but they aren't responding. Someone had also posted it in the ideas page but it didn't get required votes, so they closed it. I really want Spotify to be friendly with their users but it seems Spotify doesn't like open-source that much. Their API docs have a lot of mistakes which could have been fixed if they had open-sourced it on GitHub. They should learn from Discord, I like Spotify but they are really binding hands of devs like me by not listening to the requests we are making.

Spotify just release the WebSockets for everyone 🙏

Suggested posts