Get scoreboard stats and results data from Yahoo! Fantasy API.
Source:R/y_scoreboard.R
y_scoreboard.Rd
This function gets scoreboard stats and results for a given league and week. It is similar to `y_matchups()` but takes a league key as opposed to a team key and returns league wide match-up data.
Usage
y_scoreboard(
league_key = NULL,
token_name = NULL,
week = NULL,
debug = FALSE,
quiet = TRUE
)
Arguments
- league_key
league as a string in the form "000.l.0000". League key can be found with `y_games()`.
- token_name
Name used for assignment when creating token object with `y_create_token()`.
- week
A integer referring to a week of fantasy season to return. Default NULL will return current week of season.
- debug
Returns a list of data uri call and content. Useful for debugging.
- quiet
Print function activity.