Update recommendations doc, fixes #290

This commit is contained in:
Stephane Bruckert 2020-02-22 13:08:26 +00:00
parent 3b74b10a91
commit 9bd2169b49
2 changed files with 5 additions and 3 deletions

4
.gitignore vendored
View File

@ -30,7 +30,6 @@ pip-delete-this-directory.txt
htmlcov/ htmlcov/
.tox/ .tox/
.coverage .coverage
.cache
nosetests.xml nosetests.xml
coverage.xml coverage.xml
@ -52,5 +51,8 @@ coverage.xml
# Sphinx documentation # Sphinx documentation
docs/_build/ docs/_build/
# Spotipy tokens
.cache
.* .*
archive archive

View File

@ -1031,12 +1031,12 @@ class Spotify(object):
**kwargs **kwargs
): ):
""" Get a list of recommended tracks for one to five seeds. """ Get a list of recommended tracks for one to five seeds.
(at least one of `seed_artists`, `seed_tracks` and `seed_genres`
are needed)
Parameters: Parameters:
- seed_artists - a list of artist IDs, URIs or URLs - seed_artists - a list of artist IDs, URIs or URLs
- seed_tracks - a list of track IDs, URIs or URLs - seed_tracks - a list of track IDs, URIs or URLs
- seed_genres - a list of genre names. Available genres for - seed_genres - a list of genre names. Available genres for
recommendations can be found by calling recommendations can be found by calling
recommendation_genre_seeds recommendation_genre_seeds