Returns meta data from the GAME resource of the Yahoo API.
Usage
y_game_codes(sport = NULL, token_name = NULL, debug = FALSE, quiet = TRUE)
Arguments
- 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.
Examples
# Not run
# y_game_codes(c("nfl", "mlb"), my_token)