GetPlayers output

This section describes the two methods that are used to retrieve either a specific player data or a list of players for a specific team.

GetPlayersByTeam

Request data using either the numeric ID of the team or the name (string) of the team - similar to other methods. 

GetPlayerById

Use numeric ID of the specific player you want to retrieve data from.

 

Example of XML Player object:

<Player>
  <Id>1422</Id>
  <Name>Ryan Bertrand </Name>
  <Height>1.78</Height>
  <Weight>63.49</Weight>
  <Nationality>England</Nationality>
  <Position>Defender</Position>
  <Team_Id>15</Team_Id>
  <PlayerNumber>23</PlayerNumber>
  <DateOfBirth>1989-08-05T00:00:00-07:00</DateOfBirth>
  <DateOfSigning>2006-07-01T00:00:00-07:00</DateOfSigning>
  <Signing>Trainee</Signing>
  </Player>

 

  • The PlayerDetails for livescore data is not mapped to these ID's right now. A solution is being worked on -- until then, use these methods for squad details only.
Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Zeyin Lai

    Hey, recently found out Alvaro Negredo is being missed from Middlesbrough squad while Pedro Rodriguez is nowhere found in the Chelsea player list. Could you please look into them and come up with a fix?

  • 0
    Avatar
    Ketil Johnsen

    How is your solution for matching/using the player IDs with the livescore coming along?

    So far I've only looked at the two matches in Scottish Premier League yesterday (5th of April, 2016), and there where 17 players which was mentioned in the lineup, but did not show up in the GetPlayers-output for various reasons; spelling errors (e.g Bitton vs Biton), different name variant used (e.g. Christie vs Chris), encoding errors (e.g. Darren O&#039;Dea), missing parts of the name (e.g. Arturo Rodriguez), duplicated parts of the name (e.g. Kazim Kazim-Richards), or simply missing completely from the squad (e.g. Eiji Kawashima).

Please sign in to leave a comment.
Powered by Zendesk