JMPerez / spotify-web-api-js

A client-side JS wrapper for the Spotify Web API

Home Page:https://jmperezperez.com/spotify-web-api-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add optional parameter 'market' to getTrack and getTracks

lynnpark opened this issue · comments

commented

getTrack and getTracks have an optional parameter 'market'. This is needed in order to get a non-null value for the preview_url field.

commented

I can't tell if this is still maintained. Are PRs being accepted?

@lynnpark Unfortunately I have very little time these days to get involved in this project. There is an open issue asking for new maintainers on #114

Closing the issue. market can be passed in the options parameter got both getTrack() and getTracks().