Description Usage Arguments Value Examples
View source: R/wrapper_utils.R
GETs data from the MySportsFeeds 2.0 API feed
1 | msf_get_feed(url, verbose)
|
url |
the URL to GET |
verbose |
print status info |
a list of two items
status_code the HTTP status code (200 for success)
response if status_code == 200, the JSON object; otherwise, the raw text.
1 2 3 4 5 | ## Not run:
response <- dfstools::msf_get_feed(
"https://api.mysportsfeeds.com/v2.0/pull/nba/2018-playoff/games.json"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.