Announcements

Help Wizard

Step 1

NEXT STEP

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

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random