Search¶

Warning

The search API was broken at 2016-02-03 by a server-side change made by Spotify. The functionality was never restored.

Please use the Spotify Web API to perform searches.

class spotify.Search(session, query='', callback=None, track_offset=0, track_count=20, album_offset=0, album_count=20, artist_offset=0, artist_count=20, playlist_offset=0, playlist_count=20, search_type=None, sp_search=None, add_ref=True)[source]¶

A Spotify search result.

Call the search() method on your Session instance to do a search and get a Search back.

class spotify.SearchPlaylist(session, name, uri, image_uri)[source]¶

A playlist matching a search query.

class spotify.SearchType(value)[source]¶

pyspotify

Navigation

  • Installation
  • Quickstart
  • API reference
    • Error handling
    • Configuration
    • Sessions
    • Event loop
    • Connection
    • Offline sync
    • Links
    • Users
    • Tracks
    • Albums
    • Artists
    • Images
    • Search
    • Playlists
    • Toplists
    • Inbox
    • Social
    • Player
    • Audio
    • Audio sinks
    • Internal API
  • Authors
  • Changelog
  • Contributing

Related Topics

  • Documentation overview
    • API reference
      • Previous: Images
      • Next: Playlists

Quick search

©2013-2022, Stein Magnus Jodal and contributors. | Powered by Sphinx 4.4.0 & Alabaster 0.7.12 | Page source