Skip to contents

Get Player Rankings for a Location

Usage

cr_get_local_ranking_players(
  location,
  limit = NULL,
  after = NULL,
  before = NULL,
  key = cr_get_key()
)

Arguments

location

Required. Location ID from cr_get_locations(). Must be a country.

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 card info

Examples

if (FALSE) { # royale::cr_has_key()
cr_get_local_ranking_players(57000249, limit = 10)
}