vim-spotifysearch icon indicating copy to clipboard operation
vim-spotifysearch copied to clipboard

Authenticate calls

Open taromero opened this issue 7 years ago • 1 comments

When I try to use the plugin I'm receiving:

spotipy.client.SpotifyException: http status: 401, code:-1 - https://api.spotify.com/v1/search?q=somesong&type=track&limit=10&offset=0:
 No token provided

It seems like Spotify removed unauthenticated calls to the API some months ago, so in order for this to work it would need some sort of authentication.

taromero avatar Sep 04 '17 03:09 taromero

Yeah, I did notice this a couple months back :( This uses https://github.com/plamere/spotipy - Shouldn't be too hard to add in token support. Need to work out how best to pass in or retrieve a token.

takac avatar Sep 04 '17 11:09 takac