API Docs
openfooty Ethos
API Overview
Cool Ideas to get Started
Quota & Usage
Atrribution
Terms & Conditions
Developer Forum
About our Technology
openfooty Ethos
API Methods
AUTH
BETTING
CHANNEL
COMMUNITY
LEAGUE
MATCH
PLAYER
TEAM
Our Partners
The Guardian - open platform
Youtube - video API
AOL - truveo API
Open Calais - semantic toolkit
Google - too much to list!
Youtube - video API
AOL - truveo API
Open Calais - semantic toolkit
Google - too much to list!
betting.getEvents
Returns all upcoming and in-play betting events.
http://api.openfooty.org/1.0/betting.getEvents?api_key=[Your-API-KEY]
Parameters
api_key
String
Required
A valid openfooty API key
limit
Int
Optional
Limit the number of events returned at one time. Default (maximum) is 30
page
Int
Optional
Scan into the results by specifying a page number. Defaults to 0 (page 1)
format
String
Optional
Desired output response.
Valid values are: xml (default), php (php serialized array) and json (JSON format)
Valid values are: xml (default), php (php serialized array) and json (JSON format)
Important Non-Commercial clients are not permitted to change betting provider URLs, or add additional URLs / modify the odds data without prior written agreement.
Sample Response
<events>
<event id="781451">
<home_team id="725">Hull City</home_team>
<away_team id="660">Arsenal</away_team>
</event>
<event id="781452">
<home_team id="663">Liverpool</home_team>
<away_team id="673">Portsmouth</away_team>
</event>
<event id="781453">
<home_team id="662">Manchester United</home_team>
<away_team id="667">Fulham</away_team>
</event>
<event id="781455">
<home_team id="683">Sunderland</home_team>
<away_team id="676">Manchester City</away_team>
</event>
</events>
<event id="781451">
<home_team id="725">Hull City</home_team>
<away_team id="660">Arsenal</away_team>
</event>
<event id="781452">
<home_team id="663">Liverpool</home_team>
<away_team id="673">Portsmouth</away_team>
</event>
<event id="781453">
<home_team id="662">Manchester United</home_team>
<away_team id="667">Fulham</away_team>
</event>
<event id="781455">
<home_team id="683">Sunderland</home_team>
<away_team id="676">Manchester City</away_team>
</event>
</events>
Errors
S1 : Invalid Service Identifier
S2 : Service Temporarily Offline
S3 : Unknown Service Error
P1 : Invalid Package Identifier
P2 : Package Temporarily Offline
A1 : Invalid API Key
A2 : Account Suspended
A3 : Daily Quota Limit Exceeded
A4 : UserAgent String Mismatch
A5 : IP Address Refused
U1 : An unspecified Error was encountered
S2 : Service Temporarily Offline
S3 : Unknown Service Error
P1 : Invalid Package Identifier
P2 : Package Temporarily Offline
A1 : Invalid API Key
A2 : Account Suspended
A3 : Daily Quota Limit Exceeded
A4 : UserAgent String Mismatch
A5 : IP Address Refused
U1 : An unspecified Error was encountered




