The Recent Tournament API provides the list of previous two months tournaments, upcoming two months tournaments and the live tournaments. The Recent Tournament API provides the Tournament Key, Group Key, Team Key and the Match Key.
Request URL Path: https://api.footballapi.com/v1/recent_tournaments/
Method: GET
Parameters:
access_token
- Required. Get the Access Token from the Auth API
data.now
- List of season objects
https://api.footballapi.com/v1/recent_tournaments/?access_token=ACCESS_TOKEN
{
"cache_key": "football|recent_tournaments",
"data": {
"tournaments": [
{
"competition": {
"key": "1002227289838194689",
"name": "FIFA World Cup",
"short_name": null
},
"end_date": {
"gmt": "2018-07-15T00:00:00",
"timestamp": 1531612800
},
"key": "1002227289901109249",
"name": "FIFA World Cup 2018",
"short_name": "FIFA 2018",
"start_date": {
"gmt": "2018-06-14T00:00:00",
"timestamp": 1528934400
}
}
]
},
"expires": 1531861089,
"status": true,
"status_code": 200,
"version": "1.0.0"
}