football_get_teams: Get competition information

Description Usage Arguments Value Examples

View source: R/football_get_teams.R

Description

Get either information on what competitions exist, or a particular competition.

Usage

1
2
3
4
5
football_get_teams(
  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

Base url for API

Examples

1
football_api_url("football-data.org")

epijim/FootballData documentation built on March 3, 2021, 11:52 p.m.