简体   繁体   English

如何在开发Android应用程序时获取实况足球转播的RSS供稿

[英]How to get rss feeds for live soccer gamecast in developing an android app

I am new to android development, and i have a bit of an issue. 我是android开发的新手,但我有一个问题。 I want to develop an app in which i can get live gamecasts of soccer games on the app. 我想开发一个应用程序,可以在其中获取足球比赛的实时比赛视频。 I am not sure of whether some of the soccer websites like ESPN have provisions for such rss feeds. 我不确定ESPN这样的足球网站是否对此类RSS提要进行了规定。 I am not sure if i can get the gamecasts directly on my app, without it redirecting me to the website itself 我不确定是否可以直接在我的应用程序上获取游戏广播,而无需将其重定向到网站本身

Thanks 谢谢

如果您有权访问这些RSS feed,则可以使用DocumentBuilderFactory对其进行解析。

Alternatively, if you are willing, you can buy subscriptions for XML API services to get a more structured way of getting data. 另外,如果愿意,您可以购买XML API服务的订阅,以获得更结构化的数据获取方式。 I have used http://www.xmlsoccer.com for quite some time now. 我已经使用http://www.xmlsoccer.com一段时间了。 They are pretty affordable and they offer one demo-league for free with no timelimit so you can take all the time you need developing up against their API without having to pay anything. 他们的价格非常合理,并且他们免费提供一个免费的演示联盟,没有时间限制,因此您可以花所有的时间开发他们的API,而无需支付任何费用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM