Skip to contents

This returns the current season if it's a valid season.

Usage

cr_get_global_season(
  season,
  limit = NULL,
  after = NULL,
  before = NULL,
  key = cr_get_key()
)

Arguments

season

Required. Season ID, such as '2022-09'

limit

number of items returned in the response.

after

return only items that occur after this marker.

before

return only items that occur before this marker.

key

Required. API key. See https://developer.clashroyale.com/#/documentation Default: cr_get_key()

Value

tibble of global seasons

Examples

if (FALSE) { # royale::cr_has_key()
cr_get_global_season('2022-09')
}