Description Usage Arguments Details Value
Retrieve scores.
1 2 3 | request_scores(league, url, ...)
request_scores_nfl(league = "nfl", ...)
|
league |
character. Name of league for which to get scores. One of 'nfl' or 'nba'. For '_[league]()' functions, set to appropriate league by default. (e.g. For '_nfl()', set to 'nfl'.) Note that only 'nfl' is currently implemented. |
url |
character. Required. |
... |
dots. Not currently used. |
Note that the underlying implementation of this function does not differ accross leagues. Nonetheeless, suffixed version (i.e. 'request_scores_[league]()') are provided in order to main consistency with the other classes of functions (e.g. 'mak_url_scores_[league]()').
response object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.