Description Usage Arguments Value Examples
View source: R/football_pull.R
Adding in as potentially may allow package to work over a few APIs, and this step is done over multiple functions.
1 2 3 4 5 | football_pull(
api = "football-data.org",
api_endpoint = "/competitions/",
api_token = Sys.getenv("API_FOOTBALL_DATA")
)
|
api |
Name of API. Currently has |
api_endpoint |
Which API are you using. |
api_token |
The API token. |
Base url for API
1 2 | # Will error as no API token
FootballData:::football_api_url("football-data.org")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.