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

Change TrackSimple to Track in PlayHistory object (i.e. when getting recently played tracks) #221

Open
beyonik opened this issue Jul 9, 2024 · 1 comment

Comments

@beyonik
Copy link

beyonik commented Jul 9, 2024

Spotify returns a fully-fledged track object here so I'm not sure why TrackSimple is used exactly, but by making this choice accessing stuff like the album that the track is from requires an extra API call which can make ratelimits quickly be hit (especially if needed for a lot of tracks at once).

@hayribakici
Copy link
Collaborator

Thank you for your issue @beyonik. Do you by any chance know, which endpoints are also affected that provide Track but is TrackSimple in this library ? Therefore, we might do a PR that handles all issues (also currently, there is #176 regarding Album).

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

No branches or pull requests

2 participants