get_schedule: Get Information about current Schedules

Description Usage Arguments Value

View source: R/get_schedule.R

Description

For a given 'leagueId' string, the function returns schedule data.

Usage

1
2
3
4
5
6
7
get_schedule(
  leagueId,
  check_old_pages = TRUE,
  pageToken = NULL,
  save_details = FALSE,
  hl = "en-US"
)

Arguments

leagueId

string. The league id to be queried.

check_old_pages

logical. Should older pages be querried as well?

pageToken

Base 64 encoded string used to determine the next "page" of data to pull. Only used if 'check_old_pages' is 'TRUE'.

save_details

logical. Shoudl details be saved?

hl

string. Locale or language code using ISO 639-1 and ISO 3166-1 alpha-2.

Value

Returns an object of class 'Schedule' if details were saved. Otherwise, a 'data.frame' of scheduled matches for the queried league.


flsck/rlolesports documentation built on April 4, 2021, 6:59 p.m.