y_league_settings: Get league settings data from Yahoo! Fantasy API.

View source: R/y_league_settings.R

y_league_settingsR Documentation

Get league settings data from Yahoo! Fantasy API.

Description

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.

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.

Value

A tibble.


macraesdirtysocks/YFAR documentation built on March 20, 2022, 2:07 a.m.