You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.
GET /v1/search?query=track%3A{}+artist%3A{}&type=track&offset=0&limit=20
Expected behaviour:
A new song must be added to the Spotify library in a new playlist
Actual behaviour:
Traceback (most recent call last):
File "spotify_youtube.py", line 168, in
cp.add_song_to_playlist()
File "spotify_youtube.py", line 160, in add_song_to_playlist
raise ResponseException(response.status_code)
exceptions.ResponseException: Response gave status code 400
The text was updated successfully, but these errors were encountered:
Hey,
As I am using Spotify API to add youtube liked songs in my private library playlist.
The codes for the following functions are the following:
`def add_song_to_playlist(self):
populate dictionary with our liked songs
create a new playlist
add all songs into new playlist
Endpoint(s):
POST /v1/users/{}/playlists
POST /v1/playlists/{}/tracks
GET /v1/search?query=track%3A{}+artist%3A{}&type=track&offset=0&limit=20
Expected behaviour:
Actual behaviour:
Traceback (most recent call last):
File "spotify_youtube.py", line 168, in
cp.add_song_to_playlist()
File "spotify_youtube.py", line 160, in add_song_to_playlist
raise ResponseException(response.status_code)
exceptions.ResponseException: Response gave status code 400
The text was updated successfully, but these errors were encountered: