|
11 | 11 |
|
12 | 12 | ##### **`get_chest(index=0)`** |
13 | 13 | * Returns the `index`'th chest of the player. |
14 | | - If player's next chest is `Super Magical`, it returns `Super Magical` when you do `profile.get_clan(0)` |
| 14 | + If player's next chest is `Super Magical`, it returns `Super Magical` when you do `profile.get_chest(0)` |
15 | 15 |
|
16 | 16 | * Return Type: str |
17 | 17 |
|
|
25 | 25 | > **`level`** - The current level the player is at. |
26 | 26 | **Returns:** int |
27 | 27 |
|
28 | | -> **`experience`** - A tuple of current xp and xp required to level up. |
| 28 | +> **`xp`** - A tuple of current xp and xp required to level up. Alias of `experience` |
| 29 | +**Returns:** tuple (int, int) |
| 30 | + |
| 31 | +> **`experience`** - A tuple of current xp and xp required to level up. Alias of `xp` |
29 | 32 | **Returns:** tuple (int, int) |
30 | 33 |
|
31 | 34 | > **`name_changed`** - Indicates whether or not the player has changed names. |
|
70 | 73 | > **`draws`** - The amount of games drawn by the player. |
71 | 74 | **Returns:** int |
72 | 75 |
|
| 76 | +> **`three_crown_wins`** - The amount of three crown wins obtained by the player. |
| 77 | +**Returns:** int |
| 78 | + |
73 | 79 | > **`win_streak`** - The current win streak of the player. |
74 | 80 | **Returns:** int |
75 | 81 |
|
|
79 | 85 | > **`clan_tag`** - The tag of the clan the player is currently in |
80 | 86 | **Returns:** int or None |
81 | 87 |
|
82 | | -> **`clan_tag`** - The name of the clan the player is currently in |
| 88 | +> **`clan_name`** - The name of the clan the player is currently in |
83 | 89 | **Returns:** str or None |
84 | 90 |
|
85 | 91 | > **`clan_role`** - The role of the player in his current clan |
|
94 | 100 | > **`deck`** - The player's deck |
95 | 101 | **Returns:** list [[Card](card.md), [Card](card.md), [Card](card.md), [Card](card.md), [Card](card.md), [Card](card.md), [Card](card.md), [Card](card.md)] |
96 | 102 |
|
| 103 | +> **`deck_link`** - A deck link that can be used in the game. |
| 104 | +**Returns:** str |
| 105 | + |
97 | 106 | > **`clan_badge_url`** - The profile's clan's badge url. Returns None if user is not in a clan. |
98 | 107 | **Returns:** str or None |
99 | 108 |
|
100 | 109 | > **`seasons`** - Player's previous seasons. |
101 | | -**Returns:** List [[Season](season.md), [Season](season.md), [Season](season.md)... [Season](season.md)] or None |
| 110 | +**Returns:** List [[Season](season.md), [Season](season.md), [Season](season.md)... [Season](season.md)] or None |
| 111 | + |
| 112 | +> **`raw_data`** - Raw dictionary data from the API |
| 113 | +**Returns:** dict |
| 114 | + |
| 115 | +> **`url`** - API Endpoint for the profile |
| 116 | +**Returns:** str |
| 117 | + |
| 118 | +> **`update`** - Update the current object |
| 119 | +**Returns:** [Profile](profile.md) |
0 commit comments