Spotify deprecated several endpoints in Nov, 2024. Two of them were being used in Tracks tools. We're removing those from the Toolkit. Spotify announcement: https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api Archive: https://archive.is/LMBe5
14 lines
557 B
Python
14 lines
557 B
Python
SPOTIFY_BASE_URL = "https://api.spotify.com/v1"
|
|
|
|
ENDPOINTS = {
|
|
"player_get_available_devices": "/me/player/devices",
|
|
"player_get_playback_state": "/me/player",
|
|
"player_get_currently_playing": "/me/player/currently-playing",
|
|
"player_modify_playback": "/me/player/play",
|
|
"player_pause_playback": "/me/player/pause",
|
|
"player_skip_to_next": "/me/player/next",
|
|
"player_skip_to_previous": "/me/player/previous",
|
|
"player_seek_to_position": "/me/player/seek",
|
|
"tracks_get_track": "/tracks/{track_id}",
|
|
"search": "/search",
|
|
}
|