Reputation: 2970
I'd like to find the specific podcast episode titled "#1: The Single White Guy Focus Group." According to the iTunes search API, I believe I should be able to find it with the following:
But that returns an empty JSON. I also tried
https://itunes.apple.com/search?term=The+Single+Straight+Guy+Focus+Group&entity=podcast
... and ...
https://itunes.apple.com/search?term=The+Single+Straight+Guy+Focus+Group
... but I always get the same result.
{
"resultCount":0,
"results": []
}
I'm baffled. I know the episode is in there - here it is.
https://itunes.apple.com/us/podcast/1-single-straight-guy-focus/id775053292?i=1000375469754&mt=2
(posting full url so deliberately, so you can see that indeed there is a url which does point to that specific episode)
So why can't I find it?
EDIT: Note that I am doing this in an Obj-C iOS app, in case that is relevant.
Upvotes: 6
Views: 2182
Reputation: 11
I came here with a slightly different problem, and also found the documentation for the itunes search to be a bit lacking. But thanks to @ntschier I was able to put this search together:
https://itunes.apple.com/lookup?id=1469663053&country=US&media=podcast&entity=podcastEpisode&limit=5
This gives me the five most recent episodes from my podcast. I will be using this with Zapier (hopefully) to follow my podcast and automatically tweet/FB/LinkedIn out new episodes using their Webhooks feature.
The only problem I'm having is there seems to be a delay between the time something shows up on Apple Podcasts and when it shows up in an itunes search. Not sure what's up with that. By delay, I mean many hours at least.
Upvotes: 1
Reputation: 141
After a TON of hair-pulling, I've found that there is an undocumented entity (podcastEpisode) that does what we all want.
So, on the off-chance the original poster is still at this after 3 years (or more likely other frustrated folks like myself browsing) - try this (using the original example):
https://itunes.apple.com/search?term=The+Single+Straight+Guy+Focus+Group&entity=podcastEpisode
Upvotes: 8
Reputation: 21
Unfortunately apple API searches only by the title of the podcast and not by the title of the episode. I'm trying to add a search by episode on my app but to no avail so far
Upvotes: 2