football_pull.RdAdding in as potentially may allow package to work over a few APIs, and this step is done over multiple functions.
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] "https://api.football-data.org/v2/"