Does ESPN Cricinfo have an API? [closed]

萝らか妹 提交于 2019-12-02 14:22:56

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

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!