UNPKG

cr.js

Version:
11 lines (7 loc) 325 B
# Client ?> Represents an connection to the api. ## Methods ##### getProfile(*tag*) ⇒ **`Promise<Profile>`** - **Returns:** A [Profile](profile.md) object containing information about the player. ##### getClan(*tag*) ⇒ **`Promise<Clan>`** - **Returns:** A [Clan](clan.md) object containing information about the clan.