rinukkusu / spotify-dart

A dart library for interfacing with the Spotify API.
BSD 3-Clause "New" or "Revised" License
207 stars 93 forks source link

Add extended support for me.topArtists & me.topTracks endpoints #137

Closed r-bbn closed 1 year ago

r-bbn commented 1 year ago

Hello ! I am currently using this really useful lib in a flutter project around the spotify API, thanks ! However, features are really limited when we want to retrieve users' top items because we could not use specific values for the parameters stated here (limit, offset & time_range) : https://developer.spotify.com/documentation/web-api/reference/#/operations/get-users-top-artists-and-tracks

Hence, I did simple modifications to the functions me.topArtists() and me.topTracks() so that I could use them in my project :)

Here is the detail of my modifications :

hayribakici commented 1 year ago

@rinukkusu This PR can be closed now, no?

rinukkusu commented 1 year ago

@hayribakici Yes, right! @r-bbn @Quatton We took your ideas, refined them and the improvements have been merged with PR #157 to move things forward. Thank you for your contributions!

Quatton commented 1 year ago

Thank you!