Spotify¶
-
class
spotify.
Spotify
¶ Create a Spotify service.
Lookup¶
-
Spotify.
lookup
()¶ Return the resource corresponding to the lookup service
-
Lookup.
get
(uri, extras=None)¶ Lookup for an artist, album or track in the Spotify’s music catalogue
Variables: - uri (str) – Spotify valid uri
- extras (str) – A comma-separated list of words that defines the detail level expected in the response.
See https://developer.spotify.com/technologies/web-api/lookup/
Search¶
-
Spotify.
search
()¶ Return the resource corresponding to the search service
-
Search.
get
(type, q, page=None)¶ Search in the Spotify’s music catalogue.
See https://developer.spotify.com/technologies/web-api/search/ and http://www.spotify.com/es/about/features/advanced-search-syntax/
Variables: - type (str) – What to search for, artist, album or track.
- q (str) – Search string.
- page (int) – The page of the result set to return. defaults to 1