You'll still get the default limit, offset and time range regardless of what you set the params to.
I managed to fix it locally by fiddling around with the library. I believe the problem is that the payload in the function top_artists_or_tracks(), is not sent the HTTP request.
I fixed it by changing line 854 in http.py from
return self.request(route)
to
return self.request(route, params=payload)
I'd make a pull request but I'm new at this stuff.
Regardless of what parameters you set for user.top_artists(), such as:
**user.top_artists(limit=50,offset=0, time_range="long_term")**
You'll still get the default limit, offset and time range regardless of what you set the params to. I managed to fix it locally by fiddling around with the library. I believe the problem is that the payload in the function top_artists_or_tracks(), is not sent the HTTP request.
I fixed it by changing line 854 in http.py from
return self.request(route)
toreturn self.request(route, params=payload)
I'd make a pull request but I'm new at this stuff.