aiohypixel.guild

Documentation

Custom classes that are related to guild lookups on the Hypixel API

class aiohypixel.guild.Guild(raw_data, id, name, coins, total_coins, created_at, joinable, tag, exp, level, preferred_games, ranks, members, banner, achievements, exp_by_game)

Describes a Hypixel guild

classmethod from_api_response(resp)

Processes the raw API response into a Guild object.

Parameters

resp (NewType()(APIResponse, Dict[str, Any])) – The API response to process.

Returns

The processed Guild object.

class aiohypixel.guild.GuildRank(name, default, tag, created_at, priority)
classmethod from_api_response(resp)

Processes the raw API response into a GuildRank object.

Parameters

resp (NewType()(APIResponse, Dict[str, Any])) – The API response to process.

Returns

The processed GuildRank object.

class aiohypixel.guild.GuildMember(uuid, rank, joined_at, quest_participation)
classmethod from_api_response(resp)

Processes the raw API response into a GuildMember object.

Parameters

resp (NewType()(APIResponse, Dict[str, Any])) – The API response to process.

Returns

The processed GuildMember object.

class aiohypixel.guild.GuildTag(text, colour, color)

Represents a guild tag

classmethod from_api_response(resp)

Processes the raw API response into a GuildTag object.

Parameters

resp (NewType()(APIResponse, Dict[str, Any])) – The API response to process.

Returns

The processed GuildTag object.

Inheritance Diagram

Inheritance diagram of aiohypixel.guild