Skip to contents

Gets the player details for one player.

Usage

coc_get_player(tag, key = get_clash_key())

Arguments

tag

Required. The player to return.

key

Required. API key. See https://developer.clashofclans.com/#/documentation Default: get_clash_key()

Value

a tibble of player info

Examples

if (FALSE) { # clash::has_clash_key()
coc_get_player('92GCQQYP')
}