Documentation
¶
Overview ¶
Package wowcgd contains types for the World of Warcraft Classic Game Data APIs
Index ¶
- type ConnectedRealm
- type ConnectedRealmsIndex
- type ConnectedRealmsSearch
- type Creature
- type CreatureDisplayMedia
- type CreatureFamiliesIndex
- type CreatureFamily
- type CreatureFamilyMedia
- type CreatureType
- type CreatureTypesIndex
- type GuildCrestBorderMedia
- type GuildCrestComponentsIndex
- type GuildCrestEmblemMedia
- type Item
- type ItemClass
- type ItemClassesIndex
- type ItemMedia
- type ItemSubclass
- type MediaSearch
- type PlayableClass
- type PlayableClassMedia
- type PlayableClassesIndex
- type PlayableRace
- type PlayableRacesIndex
- type PowerType
- type PowerTypesIndex
- type Realm
- type RealmIndex
- type RealmSearch
- type Region
- type RegionIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectedRealm ¶
type ConnectedRealm struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
HasQueue bool `json:"has_queue"`
Status struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"status"`
Population struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"population"`
Realms []struct {
ID int `json:"id"`
Region struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"region"`
ConnectedRealm struct {
Href string `json:"href"`
} `json:"connected_realm"`
Name string `json:"name"`
Category string `json:"category"`
Locale string `json:"locale"`
Timezone string `json:"timezone"`
Type struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"type"`
IsTournament bool `json:"is_tournament"`
Slug string `json:"slug"`
} `json:"realms"`
MythicLeaderboards struct {
Href string `json:"href"`
} `json:"mythic_leaderboards"`
}
ConnectedRealm structure
type ConnectedRealmsIndex ¶
type ConnectedRealmsIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ConnectedRealms []struct {
Href string `json:"href"`
} `json:"connected_realms"`
}
ConnectedRealmsIndex structure
type ConnectedRealmsSearch ¶
type ConnectedRealmsSearch struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
MaxPageSize int `json:"maxPageSize"`
PageCount int `json:"pageCount"`
Results []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Data struct {
Realms []struct {
IsTournament bool `json:"is_tournament"`
Timezone string `json:"timezone"`
Name struct {
ItIT string `json:"it_IT"`
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
ID int `json:"id"`
Region struct {
Name struct {
ItIT string `json:"it_IT"`
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
ID int `json:"id"`
} `json:"region"`
Category struct {
ItIT string `json:"it_IT"`
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"category"`
Locale string `json:"locale"`
Type struct {
Name struct {
ItIT string `json:"it_IT"`
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
Type string `json:"type"`
} `json:"type"`
Slug string `json:"slug"`
} `json:"realms"`
ID int `json:"id"`
HasQueue bool `json:"has_queue"`
Status struct {
Name struct {
ItIT string `json:"it_IT"`
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
Type string `json:"type"`
} `json:"status"`
Population struct {
Name struct {
ItIT string `json:"it_IT"`
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
Type string `json:"type"`
} `json:"population"`
} `json:"data"`
} `json:"results"`
}
ConnectedRealmsSearch structure
type Creature ¶
type Creature struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
Type struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"type"`
Family struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"family"`
CreatureDisplays []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
} `json:"creature_displays"`
IsTameable bool `json:"is_tameable"`
}
Creature structure
type CreatureDisplayMedia ¶
type CreatureDisplayMedia struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Assets []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"assets"`
}
CreatureDisplayMedia structure
type CreatureFamiliesIndex ¶
type CreatureFamiliesIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
CreatureFamilies []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"creature_families"`
}
CreatureFamiliesIndex structure
type CreatureFamily ¶
type CreatureFamily struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
Media struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
ID int `json:"id"`
} `json:"media"`
}
CreatureFamily structure
type CreatureFamilyMedia ¶
type CreatureFamilyMedia struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Assets []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"assets"`
}
CreatureFamilyMedia structure
type CreatureType ¶
type CreatureType struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
}
CreatureType structure
type CreatureTypesIndex ¶
type CreatureTypesIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
CreatureTypes []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"creature_types"`
}
CreatureTypesIndex structure
type GuildCrestBorderMedia ¶
type GuildCrestBorderMedia struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Assets []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"assets"`
}
GuildCrestBorderMedia structure
type GuildCrestComponentsIndex ¶
type GuildCrestComponentsIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Emblems []struct {
ID int `json:"id"`
Media struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
} `json:"media"`
} `json:"emblems"`
Borders []struct {
ID int `json:"id"`
Media struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
} `json:"media"`
} `json:"borders"`
}
GuildCrestComponentsIndex structure
type GuildCrestEmblemMedia ¶
type GuildCrestEmblemMedia struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Assets []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"assets"`
}
GuildCrestEmblemMedia structure
type Item ¶
type Item struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
Quality struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"quality"`
Level int `json:"level"`
RequiredLevel int `json:"required_level"`
Media struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
ID int `json:"id"`
} `json:"media"`
ItemClass struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"item_class"`
ItemSubclass struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"item_subclass"`
InventoryType struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"inventory_type"`
PurchasePrice int `json:"purchase_price"`
SellPrice int `json:"sell_price"`
MaxCount int `json:"max_count"`
IsEquippable bool `json:"is_equippable"`
IsStackable bool `json:"is_stackable"`
}
Item structure
type ItemClass ¶
type ItemClass struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ClassID int `json:"class_id"`
Name string `json:"name"`
ItemSubclasses []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"item_subclasses"`
}
ItemClass structure
type ItemClassesIndex ¶
type ItemClassesIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ItemClasses []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"item_classes"`
}
ItemClassesIndex structure
type ItemMedia ¶
type ItemMedia struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Assets []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"assets"`
}
ItemMedia structure
type ItemSubclass ¶
type ItemSubclass struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ClassID int `json:"class_id"`
SubclassID int `json:"subclass_id"`
DisplayName string `json:"display_name"`
HideSubclassInTooltips bool `json:"hide_subclass_in_tooltips"`
}
ItemSubclass structure
type MediaSearch ¶
type MediaSearch struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
MaxPageSize int `json:"maxPageSize"`
PageCount int `json:"pageCount"`
ResultCountCapped bool `json:"resultCountCapped"`
Results []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Data struct {
Assets []struct {
FileDataID int `json:"file_data_id"`
Value string `json:"value"`
Key string `json:"key"`
} `json:"assets"`
ID int `json:"id"`
} `json:"data"`
} `json:"results"`
}
MediaSearch Structure
type PlayableClass ¶
type PlayableClass struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
GenderName struct {
Male string `json:"male"`
Female string `json:"female"`
} `json:"gender_name"`
PowerType struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"power_type"`
Media struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
ID int `json:"id"`
} `json:"media"`
PvpTalentSlots struct {
Href string `json:"href"`
} `json:"pvp_talent_slots"`
}
PlayableClass structure
type PlayableClassMedia ¶
type PlayableClassMedia struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
}
PlayableClassMedia structure
type PlayableClassesIndex ¶
type PlayableClassesIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Classes []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"classes"`
}
PlayableClassesIndex structure
type PlayableRace ¶
type PlayableRace struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
GenderName struct {
Male string `json:"male"`
Female string `json:"female"`
} `json:"gender_name"`
Faction struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"faction"`
IsSelectable bool `json:"is_selectable"`
IsAlliedRace bool `json:"is_allied_race"`
}
PlayableRace structure
type PlayableRacesIndex ¶
type PlayableRacesIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Races []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"races"`
}
PlayableRacesIndex structure
type PowerType ¶
type PowerType struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
}
PowerType structure
type PowerTypesIndex ¶
type PowerTypesIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
PowerTypes []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"power_types"`
}
PowerTypesIndex structure
type Realm ¶
type Realm struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Region struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
} `json:"region"`
ConnectedRealm struct {
Href string `json:"href"`
} `json:"connected_realm"`
Name string `json:"name"`
Category string `json:"category"`
Locale string `json:"locale"`
Timezone string `json:"timezone"`
Type struct {
Type string `json:"type"`
Name string `json:"name"`
} `json:"type"`
IsTournament bool `json:"is_tournament"`
Slug string `json:"slug"`
}
Realm structure
type RealmIndex ¶
type RealmIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Realms []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Name string `json:"name"`
ID int `json:"id"`
Slug string `json:"slug"`
} `json:"realms"`
}
RealmIndex structure
type RealmSearch ¶
type RealmSearch struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
MaxPageSize int `json:"maxPageSize"`
PageCount int `json:"pageCount"`
Results []struct {
Key struct {
Href string `json:"href"`
} `json:"key"`
Data struct {
IsTournament bool `json:"is_tournament"`
Timezone string `json:"timezone"`
Name struct {
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
ID int `json:"id"`
Region struct {
Name struct {
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
} `json:"region"`
Category struct {
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"category"`
Locale string `json:"locale"`
Type struct {
Name struct {
RuRU string `json:"ru_RU"`
EnGB string `json:"en_GB"`
ZhTW string `json:"zh_TW"`
KoKR string `json:"ko_KR"`
EnUS string `json:"en_US"`
EsMX string `json:"es_MX"`
PtBR string `json:"pt_BR"`
EsES string `json:"es_ES"`
ZhCN string `json:"zh_CN"`
FrFR string `json:"fr_FR"`
DeDE string `json:"de_DE"`
} `json:"name"`
Type string `json:"type"`
} `json:"type"`
Slug string `json:"slug"`
} `json:"data"`
} `json:"results"`
}
RealmSearch structure
type Region ¶
type Region struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
ID int `json:"id"`
Name string `json:"name"`
Tag string `json:"tag"`
}
Region structure
type RegionIndex ¶
type RegionIndex struct {
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"_links"`
Regions []struct {
Href string `json:"href"`
} `json:"regions"`
}
RegionIndex structure