- 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
Method for retrieving data according to the seasons
- 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
Retrieving the list of the days for a specified season
The method is used to get the list of the days for a specified season id. URL: https://offvariance.com/api/public/{format}/seasons/{id}/{method}
An example of a request:
json:
https://offvariance.com/api/public/json/seasons/3331/tours/?key=demokey
xml:
https://offvariance.com/api/public/xml/seasons/3331/tours/?key=demokey
{
"result":[
{
"id":3332,
"name": "1-й тур"
},
...
]
}
<root>
<result>
<element-0>
<id>3332</id>
<name>1-й тур</name>
</element-0>
...
</result>
</root>
Retrieving the list of the matches for a specified season
The method is used for getting the list of matches for a specified season id. URL: https://offvariance.com/api/public/{format}/seasons/{id}/{method}
An example of a request:
json:
https://offvariance.com/api/public/json/seasons/3331/matches/?key=demokey
xml:
https://offvariance.com/api/public/xml/seasons/3331/matches/?key=demokey
The matches are filtered with the next methods:
- ".../matches/updates/" method is used to filter the matches by the updates on the website;
- ".../matches/dates/" method is used to filter the matches by the date of a match.
An example of usage:
https://offvariance.com/api/public/json/seasons/3331/matches/updates/?key=xxxxx&from=1564574...
{
"result":[
{
"id":"63078",
"updateTime":1564574094
},
...
]
}
<root>
<result>
<element-0>
<id>63078</id>
<updateTime>1564574094</updateTime>
</element-0>
...
</result>
</root>