Asynchronous Python wrapper for the Shazam API, reverse-engineered and built with asyncio and aiohttp. Currently at version 0.8.1, supports Python 3.10+. Active development with periodic releases.
pip install shazamioNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage to recognize a song from a file.
Upgrade Python to 3.10+ or pin shazamio to <0.8.0 if you must use older Python.
Have fallback mechanisms or monitor the GitHub repo for updates.
Use await shazam.recognize(...) with asyncio.
Use asyncio.run() or nest_asyncio.apply() in Jupyter notebooks.
Upgrade to the latest version: pip install --upgrade shazamio