clashroyaleclansv2/clashroyaleclans.py
def clan_roles(self):
        """Get roles of all the clans"""
        roles = ["Member"]
        roles.extend([clan["clanrole"] for clan in self.static_clandata.values()])
        return roles
Get roles of all the clans
Get roles of all the clans
Get roles of all the clans
def clan_roles(self):
        roles = ["Member"]
        roles.extend([clan["clanrole"] for clan in self.static_clandata.values()])
        return roles
def clan_roles ( self ) : roles = [ "Member" ] roles . extend ( [ clan [ "clanrole" ] for clan in self . static_clandata . values ( ) ] ) return roles
Get roles of all the clans
Get roles of all the clans
"""Get roles of all the clans"""
self