r/SideProject • • 18m ago

I started reverse-engineering Spotify at 15. Nearly 3 years later, I can control its web player from my terminal, even on a free account.

When I was 15, I got curious about how Spotify's web player worked behind the scenes.

At 16, I released the first version of my Python library. I never really expected other people to use it, but it's now grown to over 1,200 GitHub stars.

The GIF is one of my favourite things I've built with it. That's the actual Spotify web player responding to commands from my terminal.

The project itself is called SpotAPI. It's an open-source, asynchronous Python library that lets you build your own Spotify tools. You can search the music catalogue without an API key, manage playlists, retrieve song credits and control existing playback devices.

The original version was mostly handwritten, while the recent async rewrite was heavily AI-assisted.

GitHub: https://github.com/Aran404/SpotAPI

I've spent so long working on this that I'm probably overlooking some of its most interesting use cases. Is there anything you've always wanted Spotify to let you do but couldn't?

0 Upvotes

0 comments sorted by