MyFootballClub API v0.2

MyFootballClub API. If there are developers trying to use this who want help, please either ask on the forums or chat and we will try to help.


Team Selection data

Address: http://members.myfootballclub.co.uk/api/0.2/team-selection/<MATCH>.xml (where MATCH is the ID of the match)

Format: XML

All the teams chosen by the members in a specific game. The best way to get the link to the data is from the match XML feed described later.

The data is in the following format:

<selections>
	<selection>
		<formation>442</formation>		// Formation picked.  eg. 442, 352
		<player>
			<position>gk</position>		// Position the player was picked in. eg. gk, lb, cb, rb
			<player_id>51</player_id>	// Player ID - More information below
		</player>
		...
	</selection>
	...
</selections>

Match list

Address: http://members.myfootballclub.co.uk/api/0.2/matches.xml

Format: XML

A list of matches that team selection data is available for. Contains the ID of the match, home and away teams, and the address of the team selection data.


Player list

Address: http://members.myfootballclub.co.uk/api/0.2/players.xml

Format: XML

A list of the players in the team, consisting of player ID and name for each player. Intended for use alongside the team selection data.