Description Usage Arguments Value Examples
View source: R/wrapper_utils.R
Gets DFS data object from from MySportsFeeds version 2.0 API
1 | msf_seasonal_dfs(league, season, team, verbose)
|
league |
the league to fetch |
season |
the season to fetch |
team |
the team to fetch |
verbose |
print status info |
a list of two items
status_code the HTTP status code (200 for success, -200 for HTTP success but no DFS data)
response if status_code == 200, a tibble of DFS data; otherwise, the raw response text.
1 2 3 4 5 | ## Not run:
nba_dfs <- dfstools::msf_seasonal_dfs(
season = "2018-playoff", league = "nba", team = "GSW"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.