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")
)

Arguments

competition_id

The id for that competition. Optional

api

Name of API. Currently has "football-data.org"

api_token

The API token.

Value

Dataframe with existing competitions.