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!
league.getPlayerStats
Returns all players goals,cards and assists for a given league.
http://api.openfooty.org/1.0/league.getPlayerStats?api_key=[Your-API-KEY]
Parameters
api_key
String
Required
A valid openfooty API key
league_id
Int
Required
A valid league id
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)
Sample Response
<stats>
<player player_id="371" team_id="661" yellow="1" goals="2" assists="1" pens="0" own_goals="0">Deco</player>
<player player_id="310" team_id="661" yellow="6" goals="21" assists="9" pens="0" own_goals="0">D. Drogba</player>
<player player_id="1556" team_id="725" yellow="3" goals="0" assists="0" pens="0" own_goals="0">B. Mendy</player>
<player player_id="15764" team_id="725" yellow="3" goals="0" assists="0" pens="0" own_goals="0">N. Barmby</player>
<player player_id="2579" team_id="725" yellow="4" goals="6" assists="5" pens="1" own_goals="0">S. Hunt</player>
<player player_id="53097" team_id="665" yellow="3" goals="0" assists="0" pens="0" own_goals="0">F. Delph</player>
...
</stats>
<player player_id="371" team_id="661" yellow="1" goals="2" assists="1" pens="0" own_goals="0">Deco</player>
<player player_id="310" team_id="661" yellow="6" goals="21" assists="9" pens="0" own_goals="0">D. Drogba</player>
<player player_id="1556" team_id="725" yellow="3" goals="0" assists="0" pens="0" own_goals="0">B. Mendy</player>
<player player_id="15764" team_id="725" yellow="3" goals="0" assists="0" pens="0" own_goals="0">N. Barmby</player>
<player player_id="2579" team_id="725" yellow="4" goals="6" assists="5" pens="1" own_goals="0">S. Hunt</player>
<player player_id="53097" team_id="665" yellow="3" goals="0" assists="0" pens="0" own_goals="0">F. Delph</player>
...
</stats>
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


Internationals
England
Italy
Spain
Germany
Portugal
Brazil
Greece
France
Argentina
Australia
Austria
Netherlands
Russia
Sweden
Turkey
Scotland
United States

