苹果Api为Podcast应用程序在可可 [英] Apple Api for Podcast App in Cocoa

查看:155
本文介绍了苹果Api为Podcast应用程序在可可的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为mac创建一个podcast应用程序,用户可以在itunes上搜索podcast。有没有任何苹果的内置api,通过它我可以搜索和播放从苹果itunes播客。或任何其他api搜索播客从itunes。
感谢



编辑:



现在我找到并列出播客使用 http://itunes.apple.com/us/rss/toppodcasts/genre = 1304 / limit = 30 / json ,但我没有获取该播客的所有剧集的路径或列表。



搜索后,我从这篇文章的接受答案中找到了有用的信息



从播客列表中显示剧集列表但我没有得到任何feed url在json数据返回我的播客列表。
任何人都可以告诉我如何获得所有的剧集xml / json的播客,如显示在上述帖子的接受答案。

解决方案

api文档在这里可能是你最好的选择搜索。移动到下载/播放播客将是一个棘手的命题。也许您可以使用搜索数据获取原始的rss Feed ,然后直接从源,而不是从iTunes访问播客。


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.

解决方案

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.

这篇关于苹果Api为Podcast应用程序在可可的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆