Open niveKKumar opened 2 years ago
@niveKKumar i found the error, apparently the "market" should be included in the query and you will receive the correct answer, but apparently this library does not support adding that parameter to the query.
I solved the issue, here is an example how i solved this:
const payload = { limit: 10, offset: 0, market: 'US', }
SpotifyApi.searchShows(query, payload)
I want to use the spotify api to retrieve podcasts Using const test = await spotifyApi.search("Huberman", ["show"]); console.log(
🚀 ~ test
, test.body.shows.items);or
const test = await spotifyApi.searchShows("Huberman");
Seems to find results but the items are all null ?!