Fetch saved tracks in Spotify node (#1550)

*  Fetch saved tracks in Spotify node

* Add library resource type to Spotify node

* Add getUserTracks operation to Spotify node

* Add user-library-read to Spotify credential scope

* 🐛 Fix bug in Spotify playlist remove item

* No longer pass position 0 into request

*  Minor improvements

Co-authored-by: Gerard Louw <gerardlouw@gmail.com>
This commit is contained in:
Iván Ovejero
2021-03-21 11:48:22 +01:00
committed by GitHub
parent e37b89df4f
commit 9cec2a73c7
2 changed files with 82 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ export class SpotifyOAuth2Api implements ICredentialType {
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
default: 'user-read-playback-state playlist-read-collaborative user-modify-playback-state playlist-modify-public user-read-currently-playing playlist-read-private user-read-recently-played playlist-modify-private',
default: 'user-read-playback-state playlist-read-collaborative user-modify-playback-state playlist-modify-public user-read-currently-playing playlist-read-private user-read-recently-played playlist-modify-private user-library-read',
},
{
displayName: 'Auth URI Query Parameters',