y_game_codes | R Documentation |
Returns meta data from the GAME resource of the Yahoo API.
y_game_codes(sport = NULL, token_name = NULL, debug = FALSE, quiet = TRUE)
sport |
Fantasy sport as a lowercase string. Accepted sports are "mlb", "nba", "nhl", "nfl". |
token_name |
Name used for assignment when creating token object with y_create_token(). |
debug |
Returns a list of data such as uri call and content. Useful for debugging. |
quiet |
Print function activity. |
Tibble
# Not run # y_game_codes(c("nfl", "mlb"), my_token)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.