mental32 / spotify.py

🌐 API wrapper for Spotify 🎶
https://spotifypy.readthedocs.io/en/latest/
MIT License
150 stars 38 forks source link

Suggestion: allow User.recently_played() to take same optional parameters as Http.recently_played() #54

Closed iangu48 closed 4 years ago

iangu48 commented 4 years ago

Hi it's me again

I was hoping you could allow the recently_played() function in the User class to use the full extent of the function in http.py. Right now, User.recently_played() doesn't take any parameters but HTTPClient.recently_played() is as follows

recently_played(*, limit: Optional[int] = 20, before: Optional[str] = None, after: Optional[str] = None) → Awaitable[T_co]

mental32 commented 4 years ago

I see no reason not to! I'm going to have to hold off on this until tomorrow however since its late here (GMT) :owl: