Skip to contents

Get Player Rankings

Usage

coc_get_ranking_players(
  location,
  limit = NULL,
  after = NULL,
  before = NULL,
  key = coc_get_key()
)

Arguments

location

location id, such as 32000249

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.clashofclans.com/#/documentation. Default: get_clash_key()

Value

tibble of card info

Examples

if (FALSE) { # clash::coc_has_key()
coc_get_ranking_players(location = 32000249)
}