Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias alias alias Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad Num Num Num Num Num Num Num Num NameLoad NameLoad NameLoad body Assert BoolOpOr NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return IfExp NameLoad NameLoad NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return IfExp NameLoad NameLoad NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list NameLoad Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list NameLoad Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list NameLoad Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list Call AttributeLoad NameLoad attr Str
N/A __future__ unicode_literals N/A logging N/A threading N/A spotify spotify ffi lib serialized utils N/A __all__ N/A Search SearchPlaylist SearchType N/A logger N/A N/A logging getLogger __name__ Search N/A object N/A N/A A Spotify search result.

    Call the :meth:`~Session.search` method on your :class:`Session` instance
    to do a search and get a :class:`Search` back.
     __init__ N/A N/A self session query callback track_offset track_count album_offset album_count artist_offset artist_count playlist_offset playlist_count search_type sp_search add_ref N/A None 0 20 0 20 0 20 0 20 None None True N/A N/A N/A query sp_search query or sp_search is required N/A N/A self _session session N/A N/A self callback callback N/A N/A self track_offset track_offset N/A N/A self track_count track_count N/A N/A self album_offset album_offset N/A N/A self album_count album_count N/A N/A self artist_offset artist_offset N/A N/A self artist_count artist_count N/A N/A self playlist_offset playlist_offset N/A N/A self playlist_count playlist_count N/A N/A search_type None N/A N/A search_type N/A SearchType STANDARD N/A N/A self search_type search_type N/A N/A self loaded_event N/A N/A threading Event N/A N/A sp_search None N/A N/A handle N/A N/A ffi new_handle N/A N/A self _session self callback N/A N/A N/A N/A N/A self _session _callback_handles add handle N/A sp_search N/A N/A lib sp_search_create N/A N/A self _session _sp_session N/A N/A utils to_char query track_offset track_count album_offset album_count artist_offset artist_count playlist_offset playlist_count N/A int search_type _search_complete_callback handle N/A add_ref False N/A add_ref N/A N/A N/A N/A lib sp_search_add_ref sp_search N/A N/A self _sp_search N/A N/A ffi gc sp_search N/A lib sp_search_release N/A __repr__ N/A N/A self N/A N/A N/A N/A Search(%r) N/A N/A self link uri N/A __eq__ N/A N/A self other N/A N/A N/A N/A isinstance other N/A self __class__ N/A N/A N/A N/A self _sp_search N/A other _sp_search N/A N/A False N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __eq__ other N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A self _sp_search N/A N/A loaded_event None N/A :class:`threading.Event` that is set when the search is loaded. is_loaded N/A N/A self N/A N/A N/A Whether the search's data is loaded. N/A N/A bool N/A N/A lib sp_search_is_loaded N/A self _sp_search N/A property error N/A N/A self N/A N/A N/A An :class:`ErrorType` associated with the search.

        Check to see if there was problems loading the search.
         N/A N/A N/A spotify ErrorType N/A N/A lib sp_search_error N/A self _sp_search N/A property load N/A N/A self timeout N/A None N/A N/A Block until the search's data is loaded.

        After ``timeout`` seconds with no results :exc:`~spotify.Timeout` is
        raised. If ``timeout`` is :class:`None` the default timeout is used.

        The method returns ``self`` to allow for chaining of calls.
         N/A N/A N/A utils load N/A self _session self timeout timeout N/A query N/A N/A self N/A N/A N/A The search query.

        Will always return :class:`None` if the search isn't loaded.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error N/A query N/A N/A utils to_unicode N/A N/A lib sp_search_query N/A self _sp_search N/A N/A query query None N/A property serialized did_you_mean N/A N/A self N/A N/A N/A The search's "did you mean" query or :class:`None` if no such
        suggestion exists.

        Will always return :class:`None` if the search isn't loaded.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error N/A did_you_mean N/A N/A utils to_unicode N/A N/A lib sp_search_did_you_mean N/A self _sp_search N/A N/A did_you_mean did_you_mean None N/A property serialized tracks N/A N/A self N/A N/A N/A The tracks matching the search query.

        Will always return an empty list if the search isn't loaded.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error ignores N/A N/A N/A spotify ErrorType IS_LOADING N/A N/A N/A self is_loaded N/A N/A N/A get_track N/A N/A sp_search key N/A N/A N/A N/A N/A spotify Track N/A self _session sp_track N/A N/A lib sp_search_track sp_search key add_ref True N/A serialized N/A N/A N/A utils Sequence sp_obj N/A self _sp_search add_ref_func N/A lib sp_search_add_ref release_func N/A lib sp_search_release len_func N/A lib sp_search_num_tracks getitem_func get_track N/A property serialized track_total N/A N/A self N/A N/A N/A The total number of tracks matching the search query.

        If the number is larger than the interval specified at search object
        creation, more search results are available. To fetch these, create a
        new search object with a new interval.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error N/A N/A N/A lib sp_search_total_tracks N/A self _sp_search N/A property albums N/A N/A self N/A N/A N/A The albums matching the search query.

        Will always return an empty list if the search isn't loaded.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error ignores N/A N/A N/A spotify ErrorType IS_LOADING N/A N/A N/A self is_loaded N/A N/A N/A get_album N/A N/A sp_search key N/A N/A N/A N/A N/A spotify Album N/A self _session sp_album N/A N/A lib sp_search_album sp_search key add_ref True N/A serialized N/A N/A N/A utils Sequence sp_obj N/A self _sp_search add_ref_func N/A lib sp_search_add_ref release_func N/A lib sp_search_release len_func N/A lib sp_search_num_albums getitem_func get_album N/A property serialized album_total N/A N/A self N/A N/A N/A The total number of albums matching the search query.

        If the number is larger than the interval specified at search object
        creation, more search results are available. To fetch these, create a
        new search object with a new interval.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error N/A N/A N/A lib sp_search_total_albums N/A self _sp_search N/A property artists N/A N/A self N/A N/A N/A The artists matching the search query.

        Will always return an empty list if the search isn't loaded.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error ignores N/A N/A N/A spotify ErrorType IS_LOADING N/A N/A N/A self is_loaded N/A N/A N/A get_artist N/A N/A sp_search key N/A N/A N/A N/A N/A spotify Artist N/A self _session sp_artist N/A N/A lib sp_search_artist sp_search key add_ref True N/A serialized N/A N/A N/A utils Sequence sp_obj N/A self _sp_search add_ref_func N/A lib sp_search_add_ref release_func N/A lib sp_search_release len_func N/A lib sp_search_num_artists getitem_func get_artist N/A property serialized artist_total N/A N/A self N/A N/A N/A The total number of artists matching the search query.

        If the number is larger than the interval specified at search object
        creation, more search results are available. To fetch these, create a
        new search object with a new interval.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error N/A N/A N/A lib sp_search_total_artists N/A self _sp_search N/A property playlists N/A N/A self N/A N/A N/A The playlists matching the search query as
        :class:`SearchPlaylist` objects containing the name, URI and
        image URI for matching playlists.

        Will always return an empty list if the search isn't loaded.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error ignores N/A N/A N/A spotify ErrorType IS_LOADING N/A N/A N/A self is_loaded N/A N/A N/A getitem N/A N/A sp_search key N/A N/A N/A N/A N/A spotify SearchPlaylist N/A self _session name N/A N/A utils to_unicode N/A N/A lib sp_search_playlist_name N/A self _sp_search key uri N/A N/A utils to_unicode N/A N/A lib sp_search_playlist_uri N/A self _sp_search key image_uri N/A N/A utils to_unicode N/A N/A lib sp_search_playlist_image_uri N/A self _sp_search key N/A serialized N/A N/A N/A utils Sequence sp_obj N/A self _sp_search add_ref_func N/A lib sp_search_add_ref release_func N/A lib sp_search_release len_func N/A lib sp_search_num_playlists getitem_func getitem N/A property serialized playlist_total N/A N/A self N/A N/A N/A The total number of playlists matching the search query.

        If the number is larger than the interval specified at search object
        creation, more search results are available. To fetch these, create a
        new search object with a new interval.
         N/A N/A N/A N/A spotify Error maybe_raise N/A self error N/A N/A N/A lib sp_search_total_playlists N/A self _sp_search N/A property more N/A N/A self callback track_count album_count artist_count playlist_count N/A None None None None None N/A N/A Get the next page of search results for the same query.

        If called without arguments, the ``callback`` and ``*_count`` arguments
        from the original search is reused. If anything other than
        :class:`None` is specified, the value is used instead.
         N/A callback N/A callback N/A self callback N/A track_offset N/A N/A self track_offset N/A self track_count N/A track_count N/A track_count N/A self track_count N/A album_offset N/A N/A self album_offset N/A self album_count N/A album_count N/A album_count N/A self album_count N/A artist_offset N/A N/A self artist_offset N/A self artist_count N/A artist_count N/A artist_count N/A self artist_count N/A playlist_offset N/A N/A self playlist_offset N/A self playlist_count N/A playlist_count N/A playlist_count N/A self playlist_count N/A N/A Search N/A self _session query N/A self query callback callback track_offset track_offset track_count track_count album_offset album_offset album_count album_count artist_offset artist_offset artist_count artist_count playlist_offset playlist_offset playlist_count playlist_count search_type N/A self search_type N/A link N/A N/A self N/A N/A N/A A :class:`Link` to the search. N/A N/A N/A spotify Link N/A self _session sp_link N/A N/A lib sp_link_create_from_search N/A self _sp_search add_ref False N/A property N/A _search_complete_callback N/A N/A sp_search handle N/A N/A N/A N/A N/A logger debug search_complete_callback called N/A N/A handle N/A ffi NULL N/A N/A N/A N/A logger warning pyspotify search_complete_callback called without userdata N/A N/A N/A session search_result callback N/A N/A ffi from_handle handle N/A N/A N/A N/A session _callback_handles remove handle N/A N/A N/A N/A search_result loaded_event set N/A N/A callback None N/A N/A N/A callback search_result N/A N/A N/A ffi callback void(sp_search *, void *) serialized SearchPlaylist N/A object N/A N/A A playlist matching a search query. N/A name None N/A The name of the playlist. N/A uri None N/A The URI of the playlist. N/A image_uri None N/A The URI of the playlist's image. __init__ N/A N/A self session name uri image_uri N/A N/A N/A N/A self _session session N/A N/A self name name N/A N/A self uri uri N/A N/A self image_uri image_uri N/A __repr__ N/A N/A self N/A N/A N/A N/A SearchPlaylist(name=%r, uri=%r) N/A N/A self name N/A self uri N/A playlist N/A N/A self N/A N/A N/A The :class:`~spotify.Playlist` object for this
        :class:`SearchPlaylist`. N/A N/A N/A N/A self _session get_playlist N/A self uri N/A property image N/A N/A self N/A N/A N/A The :class:`~spotify.Image` object for this
        :class:`SearchPlaylist`. N/A N/A N/A N/A self _session get_image N/A self image_uri N/A property N/A SearchType N/A N/A utils IntEnum N/A N/A N/A N/A N/A utils make_enum SP_SEARCH_