mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Update recommendations doc, fixes #290
This commit is contained in:
parent
3b74b10a91
commit
9bd2169b49
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user