开发者

Does ESPN Cricinfo have an API? [closed]

开发者 https://www.devze.com 2023-02-13 09:27 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 ye开发者_高级运维ars ago.

Improve this question

Has espncricinfo.com exposed an API? I'm interested in live scores, news, and maybe photos.

Up until now I have only known of the rss feed..


I do not believe an API exists - unfortunately.

What a number of users have done - and what is suggested by cricinfo themselves - is use Yahoo Pipes to merge a number of different feeds. You can then get the resultant pipe in JSON and other formats.

It's probably best demonstrated by example by looking at a 'Latest cricket scores' pipe here: http://pipes.yahoo.com/pipes/pipe.info?_id=tMcVGcqn3BGvsT__2R2EvQ

Of course, it would be nice to be able to search the statistics and a REST service which returns the bare data for a statsguru search, but the only suggestion I have at present is to build statsguru queries manually with wrappertype=print appended and then use xpath to filter out the data you require.

An example statsguru query:

http://stats.espncricinfo.com/ci/engine/player/13418.html?class=1;template=results;type=allround;wrappertype=print


You can use Yahoo! Query Language (YQL) for fetching latest cricket data. It returns the result both in JSON and XML format. You can find it here : http://developer.yahoo.com/yql/console/?env=store://0TxIGQMQbObzvU4Apia0V0&_uiFocus=cricket


ESPN Developer Center Launches, Opens Sports APIs to App Builders: The Headlines API is free for non-commercial use in apps performing up to 2,500 API calls per day. As outside apps that use ESPN APIs increase in user base, developers enter individual partnership agreements with the company. If you want to use ESPN's new APIs, visit the Developer Center ( http://developer.espn.com/ ) and request a developer key.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号