spotify_py_sdk package
Subpackages
- spotify_py_sdk.auth package
- spotify_py_sdk.endpoints package
- Submodules
- spotify_py_sdk.endpoints.albums module
- spotify_py_sdk.endpoints.artists module
- spotify_py_sdk.endpoints.audiobooks module
- spotify_py_sdk.endpoints.browse module
- spotify_py_sdk.endpoints.chapters module
- spotify_py_sdk.endpoints.current_user module
- spotify_py_sdk.endpoints.endpoints_base module
- spotify_py_sdk.endpoints.episodes module
- spotify_py_sdk.endpoints.markets module
- spotify_py_sdk.endpoints.player module
Player
Player.add_item_to_playback_queue()
Player.get_available_devices()
Player.get_current_playing_track()
Player.get_playback_state()
Player.get_recently_played_tracks()
Player.get_users_queue()
Player.pause_playback()
Player.seek_to_position()
Player.set_playback_volume()
Player.set_repeat_mode()
Player.skip_to_next()
Player.skip_to_previous()
Player.start_resume_playback()
Player.toggle_playback_shuffle()
Player.transfer_playback()
QueryRange
- spotify_py_sdk.endpoints.playlists module
ChangePlaylistDetailsRequest
CreatePlaylistRequest
Playlists
Playlists.add_custom_playlist_cover_image_from_base64_string()
Playlists.add_items_to_playlist()
Playlists.change_playlist_details()
Playlists.create_playlist()
Playlists.get_playlist()
Playlists.get_playlist_cover_image()
Playlists.get_playlist_items()
Playlists.get_users_playlists()
Playlists.move_playlist_items()
Playlists.remove_items_from_playlist()
Playlists.update_playlist_items()
RemovePlaylistItemsRequest
UpdatePlaylistItemsRequest
- spotify_py_sdk.endpoints.recommendations module
- spotify_py_sdk.endpoints.search module
- spotify_py_sdk.endpoints.shows module
- spotify_py_sdk.endpoints.tracks module
- spotify_py_sdk.endpoints.users module
- Module contents
Submodules
spotify_py_sdk.spotify_api module
- class spotify_py_sdk.spotify_api.SpotifyApi(client_id: str, client_secret: str, config: SdkConfig | None = None)[source]
Bases:
object
Create an api instance and call the various endpoint methods.
- Parameters:
client_id (str) – Client_ID for your app
client_secret (str) – Client_Secret for your app
config (
SdkConfig
, optional) – passSdkConfig
instance, defaults to None