Clan
ClanRequest
Bases: RequestModel
, Clan
Get information about a single clan by clan tag. Clan tags can be found using clan search operation. Note that clan tags start with hash character '#'.
Source code in pyclasher/api/requests/clan.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
__init__(clan_tag)
initialisation of the clan request :param clan_tag: Tag of the clan. :type clan_tag: str
Source code in pyclasher/api/requests/clan.py
13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
from_base_clan(base_clan)
async
classmethod
method that returns the clan object of a BaseClan or a BaseClan subclass model :param base_clan: The BaseClan or a BaseClan subclass model :type base_clan: BaseClan :return: returns a ClanRequest object :rtype: ClanRequest
Source code in pyclasher/api/requests/clan.py
27 28 29 30 31 32 33 34 35 36 37 |
|