shazamio / ShazamIO

🎵 Is a free asynchronous library from reverse engineered Shazam API written in Python 3.8+ with asyncio and aiohttp.
MIT License
519 stars 76 forks source link

How to directly pass the audio as bytes to recognize? #13

Closed YashMakan closed 2 years ago

YashMakan commented 2 years ago

Hi, I am getting audio bytes and I want to pass the bytes directly to recognize without creating a file from the bytes.

result = await shazam.recognize_song(bytes_of_audio_file)
print(result)

is there any way to do this?

dotX12 commented 2 years ago

@YashMakan, Hello 👋

Done in version 0.0.6.