Skip to content

Fix top tracks logic, fix tests, small code refactoring.

Latest
Compare
Choose a tag to compare
@dotX12 dotX12 released this 27 Apr 22:22
11df2e4

Shazam has changed the contract for obtaining top songs:

Top tracks in country by genre
Top tracks in country
Top tracks in city
Top tracks in world by genre
Top tracks in world
We managed to maintain this functionality, but the format of the responses has changed, as have the response models! Please make corrections, the data has changed significantly!!!

Added playlist and playlists methods for Serialize.

Minor fixes, corrected pydantic models, corrected song recognition test, because for some reason the song from dora.ogg disappeared from shazam (???).

鈿狅笍 Fix: #105, thx @cc00010


Feature: #101
Feature: #99
Feature: fix pytest.