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

Album song count #42

Closed Janphr closed 9 months ago

Janphr commented 1 year ago

Hey,

thanks for this! :)

could you tell me what'd be the best way to get the album song count of a recognized track? I can see the album in the metadata list under sections. But is there a way to look up the album and get the amount of songs on that album?

Thanks!

dotX12 commented 1 year ago

@Janphr, Hello!

https://www.shazam.com/services/amapi/v1/catalog/ru/artists/503131736/albums image I plan to add this functionality over the weekend.

dotX12 commented 1 year ago

an easier option: https://www.shazam.com/services/amapi/v1/catalog/ru/albums/1650765462 @Janphr

Janphr commented 1 year ago

That works for me, thanks!

dotX12 commented 1 year ago

I've been sorting through my other open projects, I'll add methods for current requests soon.

dotX12 commented 9 months ago

added in 0.5.0.