SpotAPI
An asynchronous Python library for Spotify catalogue data, playlists and connected players.
python -m pip install spotapiPublic catalogue access requires no Spotify developer API key. Account and playback operations require a suitable Spotify session. SpotAPI is independent of Spotify and upstream behavior may change.
If SpotAPI helps you build something, consider starring the repository.
Try it in Python
import asyncio
from spotapi import Public
async def main():
results = await Public.search(
"Daft Punk", limit=5
)
for track in results.tracks:
print(track.name)
asyncio.run(main())