问题
I am creating a podcast App for mac, where user can search podcasts on itunes. Is there any Apple's built in api by which i can search and play podcast from apple itunes. Or any other api for search podcast from itunes. Thanks
Edit:
Now i find out and list the podcast using http://itunes.apple.com/us/rss/toppodcasts/genre=1304/limit=30/json but i am not getting path or list of all episode for that podcast. So that i can list all episode of podcast.
After searching i find out something useful from accepted answer of this post
Display List of Episodes from List of Podcasts But i am not getting any feed url in the json data which return me list of podcast. Any one can tell me how i can get all episode xml/json for a podcast, like displaying in accepted answer of above post.
回答1:
The api documentation here may be your best bet for searching. Moving that to downloading/playing the podcast is going to be a tricky proposition. Perhaps you can use the search data to get the original rss feed, and then access the podcast directly from the source, rather than from iTunes.
来源:https://stackoverflow.com/questions/22914971/apple-api-for-podcast-app-in-cocoa