API reference¶
The pyspotify API follows the libspotify API closely. Thus, you can refer to the similarly named functions in the libspotify docs for further details.
- spotify.__version__¶
pyspotify’s version number in the PEP 386 format.
>>> import spotify >>> spotify.__version__ u'2.0.0'
- spotify.get_libspotify_api_version()[source]¶
Get the API compatibility level of the wrapped libspotify library.
>>> import spotify >>> spotify.get_libspotify_api_version() 12
- spotify.get_libspotify_build_id()[source]¶
Get the build ID of the wrapped libspotify library.
>>> import spotify >>> spotify.get_libspotify_build_id() u'12.1.51.g86c92b43 Release Linux-x86_64 '
Sections