Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix top tracks, small refactoring. #105

Merged
merged 5 commits into from
Apr 27, 2024
Merged

Fix top tracks, small refactoring. #105

merged 5 commits into from
Apr 27, 2024

Conversation

dotX12
Copy link
Collaborator

@dotX12 dotX12 commented Apr 27, 2024

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 (???).

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.
@dotX12
Copy link
Collaborator Author

dotX12 commented Apr 27, 2024

Fix: #104

@dotX12 dotX12 merged commit f18467a into dev2.0 Apr 27, 2024
3 checks passed
@dotX12 dotX12 mentioned this pull request Apr 27, 2024
@dotX12 dotX12 deleted the dev-fix-top-tracks branch April 27, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant