Skip to content

Commit

Permalink
Update urls to a search query in client.py (spotipy-dev#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiselz authored Feb 26, 2021
1 parent fa57f6d commit 2cb2cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spotipy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def search(self, q, limit=10, offset=0, type="track", market=None):
Parameters:
- 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
within each type, not on the total response.
- offset - the index of the first item to return
Expand All @@ -553,7 +553,7 @@ def search_markets(self, q, limit=10, offset=0, type="track", markets=None, tota
Parameters:
- 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
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
Expand Down

0 comments on commit 2cb2cc2

Please sign in to comment.