football_get_upcoming.Rd
Hits the matches API fixed on status=SCHEDULED
.
football_get_upcoming( team_id = 86, api = "football-data.org", api_token = Sys.getenv("API_FOOTBALL_DATA") )
team_id | What is the team id |
---|---|
api | Which API to use. |
api_token | Your API token. |
Base url for API
football_get_upcoming()#> id competition.id competition.name competition.area.name #> 1 308576 2014 Primera Division Spain #> 2 308585 2014 Primera Division Spain #> 3 315765 2001 UEFA Champions League Europe #> 4 308601 2014 Primera Division Spain #> 5 308605 2014 Primera Division Spain #> 6 308615 2014 Primera Division Spain #> 7 308634 2014 Primera Division Spain #> 8 308635 2014 Primera Division Spain #> 9 308650 2014 Primera Division Spain #> 10 308655 2014 Primera Division Spain #> 11 308665 2014 Primera Division Spain #> 12 308679 2014 Primera Division Spain #> 13 308688 2014 Primera Division Spain #> 14 308695 2014 Primera Division Spain #> competition.area.code #> 1 ESP #> 2 ESP #> 3 EUR #> 4 ESP #> 5 ESP #> 6 ESP #> 7 ESP #> 8 ESP #> 9 ESP #> 10 ESP #> 11 ESP #> 12 ESP #> 13 ESP #> 14 ESP #> competition.area.ensignUrl season.id #> 1 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 2 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 3 <NA> 642 #> 4 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 5 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 6 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 7 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 8 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 9 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 10 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 11 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 12 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 13 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> 14 https://upload.wikimedia.org/wikipedia/en/9/9a/Flag_of_Spain.svg 635 #> season.startDate season.endDate season.currentMatchday season.winner #> 1 2020-09-13 2021-05-23 25 NA #> 2 2020-09-13 2021-05-23 25 NA #> 3 2020-08-08 2021-05-29 6 NA #> 4 2020-09-13 2021-05-23 25 NA #> 5 2020-09-13 2021-05-23 25 NA #> 6 2020-09-13 2021-05-23 25 NA #> 7 2020-09-13 2021-05-23 25 NA #> 8 2020-09-13 2021-05-23 25 NA #> 9 2020-09-13 2021-05-23 25 NA #> 10 2020-09-13 2021-05-23 25 NA #> 11 2020-09-13 2021-05-23 25 NA #> 12 2020-09-13 2021-05-23 25 NA #> 13 2020-09-13 2021-05-23 25 NA #> 14 2020-09-13 2021-05-23 25 NA #> utcDate status matchday stage group #> 1 2021-03-07T15:15:00Z SCHEDULED 26 REGULAR_SEASON Regular Season #> 2 2021-03-13T15:15:00Z SCHEDULED 27 REGULAR_SEASON Regular Season #> 3 2021-03-16T20:00:00Z SCHEDULED NA ROUND_OF_16 <NA> #> 4 2021-03-20T15:15:00Z SCHEDULED 28 REGULAR_SEASON Regular Season #> 5 2021-04-05T00:00:00Z SCHEDULED 29 REGULAR_SEASON Regular Season #> 6 2021-04-12T00:00:00Z SCHEDULED 30 REGULAR_SEASON Regular Season #> 7 2021-04-22T00:00:00Z SCHEDULED 31 REGULAR_SEASON Regular Season #> 8 2021-04-26T00:00:00Z SCHEDULED 32 REGULAR_SEASON Regular Season #> 9 2021-04-29T00:00:00Z SCHEDULED 33 REGULAR_SEASON Regular Season #> 10 2021-05-03T00:00:00Z SCHEDULED 34 REGULAR_SEASON Regular Season #> 11 2021-05-10T00:00:00Z SCHEDULED 35 REGULAR_SEASON Regular Season #> 12 2021-05-13T00:00:00Z SCHEDULED 36 REGULAR_SEASON Regular Season #> 13 2021-05-17T00:00:00Z SCHEDULED 37 REGULAR_SEASON Regular Season #> 14 2021-05-24T00:00:00Z SCHEDULED 38 REGULAR_SEASON Regular Season #> lastUpdated msg #> 1 2021-02-11T19:33:32Z Activate Odds-Package in User-Panel to retrieve odds. #> 2 2021-02-15T19:33:40Z Activate Odds-Package in User-Panel to retrieve odds. #> 3 2020-12-14T19:30:19Z Activate Odds-Package in User-Panel to retrieve odds. #> 4 2021-02-28T15:33:53Z Activate Odds-Package in User-Panel to retrieve odds. #> 5 2020-09-09T11:33:17Z Activate Odds-Package in User-Panel to retrieve odds. #> 6 2020-09-09T11:33:17Z Activate Odds-Package in User-Panel to retrieve odds. #> 7 2020-09-09T11:33:19Z Activate Odds-Package in User-Panel to retrieve odds. #> 8 2020-09-09T11:33:19Z Activate Odds-Package in User-Panel to retrieve odds. #> 9 2020-09-09T11:33:20Z Activate Odds-Package in User-Panel to retrieve odds. #> 10 2020-09-09T11:33:20Z Activate Odds-Package in User-Panel to retrieve odds. #> 11 2020-09-09T11:33:20Z Activate Odds-Package in User-Panel to retrieve odds. #> 12 2020-09-09T11:33:21Z Activate Odds-Package in User-Panel to retrieve odds. #> 13 2020-09-09T11:33:22Z Activate Odds-Package in User-Panel to retrieve odds. #> 14 2020-09-09T11:33:22Z Activate Odds-Package in User-Panel to retrieve odds. #> score.winner score.duration score.fullTime.homeTeam score.fullTime.awayTeam #> 1 NA REGULAR NA NA #> 2 NA REGULAR NA NA #> 3 NA REGULAR NA NA #> 4 NA REGULAR NA NA #> 5 NA REGULAR NA NA #> 6 NA REGULAR NA NA #> 7 NA REGULAR NA NA #> 8 NA REGULAR NA NA #> 9 NA REGULAR NA NA #> 10 NA REGULAR NA NA #> 11 NA REGULAR NA NA #> 12 NA REGULAR NA NA #> 13 NA REGULAR NA NA #> 14 NA REGULAR NA NA #> score.halfTime.homeTeam score.halfTime.awayTeam score.extraTime.homeTeam #> 1 NA NA NA #> 2 NA NA NA #> 3 NA NA NA #> 4 NA NA NA #> 5 NA NA NA #> 6 NA NA NA #> 7 NA NA NA #> 8 NA NA NA #> 9 NA NA NA #> 10 NA NA NA #> 11 NA NA NA #> 12 NA NA NA #> 13 NA NA NA #> 14 NA NA NA #> score.extraTime.awayTeam score.penalties.homeTeam score.penalties.awayTeam #> 1 NA NA NA #> 2 NA NA NA #> 3 NA NA NA #> 4 NA NA NA #> 5 NA NA NA #> 6 NA NA NA #> 7 NA NA NA #> 8 NA NA NA #> 9 NA NA NA #> 10 NA NA NA #> 11 NA NA NA #> 12 NA NA NA #> 13 NA NA NA #> 14 NA NA NA #> homeTeam.id homeTeam.name awayTeam.id awayTeam.name referees #> 1 78 Club Atlético de Madrid 86 Real Madrid CF NULL #> 2 86 Real Madrid CF 285 Elche CF NULL #> 3 86 Real Madrid CF 102 Atalanta BC NULL #> 4 558 RC Celta de Vigo 86 Real Madrid CF NULL #> 5 86 Real Madrid CF 278 SD Eibar NULL #> 6 86 Real Madrid CF 81 FC Barcelona NULL #> 7 264 Cádiz CF 86 Real Madrid CF NULL #> 8 86 Real Madrid CF 90 Real Betis Balompié NULL #> 9 82 Getafe CF 86 Real Madrid CF NULL #> 10 86 Real Madrid CF 79 CA Osasuna NULL #> 11 86 Real Madrid CF 559 Sevilla FC NULL #> 12 83 Granada CF 86 Real Madrid CF NULL #> 13 77 Athletic Club 86 Real Madrid CF NULL #> 14 86 Real Madrid CF 94 Villarreal CF NULL