-
Notifications
You must be signed in to change notification settings - Fork 310
Open
Description
The name of this function is misleading since it uses the deprecated endpoint "playlists/%s/tracks"
func (c *Client) GetPlaylistItems(ctx context.Context, playlistID ID, opts ...RequestOption) (*PlaylistItemPage, error) {
spotifyURL := fmt.Sprintf("%splaylists/%s/tracks", c.baseURL, playlistID)
...
}Instead of the actual endpoint that the API expects "playlists/%s/items" https://developer.spotify.com/documentation/web-api/reference/get-playlists-items
func (c *Client) GetPlaylistItems(ctx context.Context, playlistID ID, opts ...RequestOption) (*PlaylistItemPage, error) {
spotifyURL := fmt.Sprintf("%splaylists/%s/items", c.baseURL, playlistID)
...
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels