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

Adding getPlaylist feature (based on searchForSong) #75

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

thegeek-sys
Copy link

No description provided.

@thegeek-sys thegeek-sys marked this pull request as draft February 12, 2025 11:53
@thegeek-sys thegeek-sys marked this pull request as ready for review February 12, 2025 11:59
@thegeek-sys thegeek-sys marked this pull request as draft February 12, 2025 14:43
@thegeek-sys thegeek-sys marked this pull request as ready for review February 13, 2025 09:12
@thegeek-sys
Copy link
Author

so now you can give your market in input to getPlaylist and I had to remove some fields to struct PlaylistResult to make it fit up 100 songs avoiding memory leaks. The limit field is just to limit how many songs to put in result, the max limit is set to 100 by default by Spotify and is not changable (the only way to avoid it is to make other requests and changing the offset from as far as I know).

@thegeek-sys
Copy link
Author

thegeek-sys commented Feb 13, 2025

I'm also going to implement getAlbum, getUserAlbums and getUserPlaylists

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.

1 participant