cr.js
Version:
An simple clash royale api
11 lines (7 loc) • 325 B
Markdown
# 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.