mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 09:10:45 +00:00
Bump to 2.14.0 (#565)
* Add missing changelog entries * Mark search_markets as experimental * Bump to 2.14.0 * Improve FAQ, closes #522 * Remove non-beginner friendly exports from README, closes #521
This commit is contained in:
1 parent
a7dfda54d3
commit
c927f02c1c
6 files changed
+32
-26
No files matched your search
+6
-1
@@ -539,7 +539,7 @@ class Spotify(object):
|
||||
)
|
||||
|
||||
def search_markets(self, q, limit=10, offset=0, type="track", markets=None, total=None):
|
||||
""" searches multple markets for an item
|
||||
""" (experimental) Searches multiple markets for an item
|
||||
|
||||
Parameters:
|
||||
- q - the search query (see how to write a query in the
|
||||
@@ -553,6 +553,11 @@ class Spotify(object):
|
||||
- total - the total number of results to return if multiple markets are supplied in the search.
|
||||
If multiple types are specified, this only applies to the first type.
|
||||
"""
|
||||
warnings.warn(
|
||||
"Searching multiple markets is an experimental feature. "
|
||||
"Please be aware that this method's inputs and outputs can change in the future.",
|
||||
UserWarning,
|
||||
)
|
||||
if not markets:
|
||||
markets = self.country_codes
|
||||
|
||||
|
||||
Reference in new issue
Block a user