Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

spotify api for playback return item: none for type episode

spotify api for playback return item: none for type episode

 

Plan

Free/Premium

Country

Norway

Device

windows

Operating System

windows

 

My Question or Issue

I am trying to get the title or id of the podcast i'm listening to on spotify.

currently using this endpoint for playback information:

response = requests.get("https://api.spotify.com/v1/me/player", headers=headers)

on tracks it returns information about the song and artist under "item"

on podcast episodes this item is always "none".


Reply
2 Replies

Hi.  Check the documentation on the endpoint here - https://developer.spotify.com/documentation/web-api/reference/get-information-about-the-users-curren... - especially the part about passing the "additional_types" parameter.

 

Essentially, if you want tracks and episodes, you should call https://api.spotify.com/v1/me/player?additional_types=episode

What tomjaimz said. 👍

Suggested posts