Skip to contents

Each Yahoo! Fantasy league can have unique settings. Given a valid league key this function returns those settings for you.

Usage

y_league_settings(
  league_key = NULL,
  token_name = NULL,
  debug = FALSE,
  quiet = TRUE
)

Arguments

league_key

League key as a string or vector of strings 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()`.

debug

Returns a list of data such as uri call and content. Useful for debugging.

quiet

Print function activity.

Value

A tibble.

Details

Function returns a row of data for each league key provided.

Returns upwards of 60 columns of data with some nested tibbles.

Learn more in vignette.