Hey DEV Community! π
I'm excited to introduce SpotAPI, a powerful and easy-to-use Python library designed to simplify your interactions with Spotify's private and public APIs. Whether you're building a music app or just experimenting with Spotify data, SpotAPI offers a seamless way to access Spotify's rich features programmatically.
What is SpotAPI? π΅
SpotAPI is a Python library that emulates the requests made through a web browser to interact with Spotify's APIs. It provides an intuitive interface to work with both public and private Spotify data, making it easier to integrate Spotify features into your applications.
Key Features β¨
- No Premium Required: Access Spotifyβs features without needing a Premium account.
- Public API Access: Retrieve and manage public Spotify data like playlists, albums, and tracks.
- Private API Access: Explore private endpoints for tailored application needs.
- Easy Integration: Start using SpotAPI with minimal setupβno API key required!
- Browser-like Requests: Replicate Spotify's web requests for a true-to-web experience.
Quick Start Guide π
Without User Authentication:
from spotapi import Song
song = Song()
gen = song.paginate_songs("weezer")
for batch in gen:
for idx, item in enumerate(batch):
print(idx, item['item']['data']['name'])
Import Cookies π οΈ
Prefer not to use a CAPTCHA solver? You can import cookies to manage your session. Simply follow the steps in our documentation to use SpotAPI with a fully functional session.
License π
SpotAPI is licensed under the GPL 3.0 License. Learn more about the license.
Feel free to check out the SpotAPI GitHub repository for more details and to get started. Let me know if you have any questions or feedback!
Happy coding! π
Top comments (0)