DataFlex Web Service
DataFlex Web Service for public information from the DataFlex Football Pool
The following operations are available. For a formal definition, please review the
Service Description.
-
AllCardsInfo
Returns an array with the information about the given yellow and red cards in all games. What date, minute, teams that were playing and player name
-
AllPlayerNames
Returns an array with the id, name, country and flag reference of all players. Pass a 0 for all players and 1 for only the selected players.
-
AllPlayersWithCards
Returns an array with the names of all players that have a yellow or a red card. The number of yellow and red cards is returned.
-
AllPlayersWithRole
Returns an array with the names of all players that have the passed player role. If you pass a team name the result will be filtered on that team. For possible team names call the function TeamNames. For possible role codes call the function PlayerRoles
-
AllStadiumInfo
Returns an array with the information stored about all stadiums. The array contains the names, the city where the stadium can be found, the seat capacity, the google maps and wikipedia URLs
-
AllTeamCoachNames
Returns an array with the names of all the coaches and the team name he/she is coaching
-
Cards
Returns the total number of red or yellow cards given for all games (iGameNumber < 1) or a specific game. For the game numbers call the function ResultsAllGames
-
CityNames
Returns an array with all the city names where games are played
-
Countries
Get the top 25 countries starting with or containing the value of sName
-
FirstLastGamesEachLevel
Returns an array with a play levels and per level the start and end game date and ID
-
GameIDsGroupedByCity
Returns an array of Game IDs grouped by City Name
-
GameScore
Returns the results of a given game (pass the game ID). For the game numbers call the function ResultsAllGames
-
GameTeamScore
Returns the score for a team in a game. For the game numbers call the function ResultsAllGames. For the team ID call the function Teams
-
GoalsScored
Returns the total number of goals scored
-
GroupFirstGameDate
Returns the date of the first game in this group
-
GroupInfo
Returns a list of groups (poule phase and later round of 16 etc) and the information such as name and date first and last game
-
GroupLastGameDate
Returns the date of the last game in this group. For the group code call the function GroupInfo
-
GroupStandings
Returns an the standings in each group by passing the group ID. For the group ID call the function GroupInfo
-
LevelFirstGameDate
Returns the date of the first game in this level. For a level Number call the Levels Function.
-
LevelLastGameDate
Returns the date of the last game in this level For a level number call the Levels function. For a level Number call the Levels Function.
-
Levels
Returns a array with level numbers. The numbers can be used in functions that require or offer an option to pass a level number such as LevelFirstGameDate
-
MatchDates
Returns a list with tournament dates
-
NextGames
Returns an array with the next games of date that is greater than or equal to today. Only games of one day are returned.
-
Players
Get the top 10 players where name, fullname, firstname or lastname contains the value of sName
-
PlayerRoles
Returns an array with the roles a player can have (defender etc)
-
PlayersWithCardsRanked
Returns an array with the names of all players that have a yellow or a red card. The number of yellow and red cards is returned.
-
PlayersWithGoalsRanked
Returns an array with the names of all players that have scored a goal.
-
ResultsAllGames
Returns game result of all games overall, in one group or at one level. When groupid < 1 All games are processed (optionally filtered by level). A Group ID or level can be retrieved via GroupInfo.
-
StadiumGoogleMapsURL
Returns a URL that can be used to show a small map of the stadium. For the name of the stadium call the funciton StadiumNames
-
StadiumInfo
Returns the information stored about a particular stadium. For that pass the exact name of the stadium. For the name of the stadium call the funciton StadiumNames
-
StadiumNames
Returns an array of stadium names where the games are played
-
TeamIDsByGroup
Returns a list of team IDs based on passed GroupCode (e.g A or H). For the group code call the function GroupInfo
-
TeamPlayers
Get the players of a team. This is the current squad. For the team name call the function TeamNames. Pass a 1 for selected players only or 0 for all registered players that belong to the team (now and in the past)
-
TeamNames
Returns an array with team names. The names can be used in functions that require or offer an option to pass a teamname
-
Teams
Get the top 10 teams starting with or containing the value of sTeamName. For the team name call the function TeamNames
-
TopScorersList
Returns an array with the 5 best performing players.