mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
Update docs for current_user_top_artists (#1171)
* Update docs Add maximum value for limit parameter. See: https://developer.spotify.com/documentation/web-api/reference/get-users-top-artists-and-tracks * Update CHANGELOG.md --------- Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
This commit is contained in:
parent
ba01a6aee5
commit
ca207e4f2d
@ -13,6 +13,7 @@ Add your changes below.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed scripts in examples directory that didn't run correctly
|
- Fixed scripts in examples directory that didn't run correctly
|
||||||
|
- Updated documentation for `Client.current_user_top_artists` to indicate maximum number of artists limit
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|||||||
@ -1497,7 +1497,7 @@ class Spotify:
|
|||||||
""" Get the current user's top artists
|
""" Get the current user's top artists
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
- limit - the number of entities to return
|
- limit - the number of entities to return (max 50)
|
||||||
- offset - the index of the first entity to return
|
- offset - the index of the first entity to return
|
||||||
- time_range - Over what time frame are the affinities computed
|
- time_range - Over what time frame are the affinities computed
|
||||||
Valid-values: short_term, medium_term, long_term
|
Valid-values: short_term, medium_term, long_term
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user