Update urls to a search query in client.py (#646)

https://developer.spotify.com/documentation/web-api/reference/search/search - This url does not seem to be valid.
I guess https://developer.spotify.com/documentation/web-api/reference/search/ is right link.
This commit is contained in:
kiselz 2021-02-26 16:03:11 +01:00 committed by GitHub
parent fa57f6d3e2
commit 2cb2cc2c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,7 @@ class Spotify(object):
Parameters: Parameters:
- q - the search query (see how to write a query in the - q - the search query (see how to write a query in the
official documentation https://developer.spotify.com/documentation/web-api/reference/search/search/) # noqa official documentation https://developer.spotify.com/documentation/web-api/reference/search/) # noqa
- limit - the number of items to return (min = 1, default = 10, max = 50). The limit is applied - limit - the number of items to return (min = 1, default = 10, max = 50). The limit is applied
within each type, not on the total response. within each type, not on the total response.
- offset - the index of the first item to return - offset - the index of the first item to return
@ -553,7 +553,7 @@ class Spotify(object):
Parameters: Parameters:
- q - the search query (see how to write a query in the - q - the search query (see how to write a query in the
official documentation https://developer.spotify.com/documentation/web-api/reference/search/search/) # noqa official documentation https://developer.spotify.com/documentation/web-api/reference/search/) # noqa
- limit - the number of items to return (min = 1, default = 10, max = 50). If a search is to be done on multiple - limit - the number of items to return (min = 1, default = 10, max = 50). If a search is to be done on multiple
markets, then this limit is applied to each market. (e.g. search US, CA, MX each with a limit of 10). markets, then this limit is applied to each market. (e.g. search US, CA, MX each with a limit of 10).
- offset - the index of the first item to return - offset - the index of the first item to return