- Method for retrieving data according to the countries
- Updates
- Demo data
- Method for retrieving data according to the leagues
- Method for retrieving data according to the seasons
- Method for retrieving data according to the day
- Method for retrieving data of the match
- CSV method for retrieving the events of the match
- CSV method for retrieving the matches
- CSV method for retrieving the odds
CSV method for retrieving the matches
- Method for retrieving data according to the countries
- Updates
- Demo data
- Method for retrieving data according to the leagues
- Method for retrieving data according to the seasons
- Method for retrieving data according to the day
- Method for retrieving data of the match
- CSV method for retrieving the events of the match
- CSV method for retrieving the matches
- CSV method for retrieving the odds
Appeal to the method
This method is used to retrieve the file with the matches, their parameters and odds.
At the current moment, only csv format is available.
url: https://offvariance.com/api/public/csv/matches/{type}/?key={key}
The method is divided into two types: finished and future.
- finished - retrieving the ended matches.
- future - retrieving the future matches (+21 days from the current moment)
An example of a request for retrieving future matches:
https://offvariance.com/api/public/csv/matches/future/?key=demokey
An example of a request for retrieving the ended matches:
https://offvariance.com/api/public/csv/matches/finished/?key=demokey
- finished
- future
Fields of the file
- team_1_id - id of the home team
- team_2_id - id of the away team
- team_1_name - Name of the home team
- team_2_name - Name of the away team
- team_1_goal - Goals for the home team
- team_2_goal - Goals for the away team
xG parameters
The name of the xG parameters formed by the next structure:
#Team#_#Type#_#Group of the parameters#_#Parameter#_#Subparameter#
An example:
team2_home_xg90-03_zero_xga90 - parameter of the away team, calculated by the ended home matches, xg90-03 group of the parameters, zero parameter (for 0-0 score), xga90 subparameter.
- all - general parameter, calculated for home and away games.
- home - parameter, calculated only for the home games.
- away - parameter, calculated only for the away games.
- xg90 - group of the xg90 parameters;
- five - group of the Last Five parameters;
- xg90-03 - group of the xg90 0,3 max parameters;
- xgpower - group of the xgpower parameters;
- xgpower-03 - group of the xgpower 0,3 max parameters.
Information about the parameters in the spreadsheets.
Available demo data
You can retrieve demo data with the key: ?key=demokeyAvailable tournament: England —> Premier League