football_get_competition.Rd
Get either information on what competitions exist, or a particular competition.
football_get_competition( competition_id = NULL, api = "football-data.org", api_token = Sys.getenv("API_FOOTBALL_DATA") )
competition_id | The id for that competition. Optional |
---|---|
api | Name of API. Currently has |
api_token | The API token. |
Dataframe with existing competitions.