Documentation ¶
Index ¶
- Variables
- func Bool(val bool) *bool
- func Int(val int) *int
- func String(val string) *string
- type BadStatusCode
- type Client
- type ClientOptions
- type InvalidRealm
- type Realm
- type ResponseError
- type WgnService
- func (service *WgnService) AccountInfo(ctx context.Context, realm Realm, accountId []int, ...) (*wgn.AccountInfo, error)
- func (service *WgnService) AccountList(ctx context.Context, realm Realm, search string, ...) ([]*wgn.AccountList, error)
- func (service *WgnService) ClansGlossary(ctx context.Context, realm Realm, options *wgn.ClansGlossaryOptions) (*wgn.ClansGlossary, error)deprecated
- func (service *WgnService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wgn.ClansInfoOptions) (*wgn.ClansInfo, error)deprecated
- func (service *WgnService) ClansList(ctx context.Context, realm Realm, options *wgn.ClansListOptions) (*wgn.ClansList, error)deprecated
- func (service *WgnService) ClansMemberhistory(ctx context.Context, realm Realm, accountId int, ...) (*wgn.ClansMemberhistory, error)deprecated
- func (service *WgnService) ClansMembersinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wgn.ClansMembersinfo, error)deprecated
- func (service *WgnService) ClansMessageboard(ctx context.Context, realm Realm, accessToken string, ...) (*wgn.ClansMessageboard, error)deprecated
- func (service *WgnService) ServersInfo(ctx context.Context, realm Realm, options *wgn.ServersInfoOptions) (*wgn.ServersInfo, error)
- func (service *WgnService) WgtvTags(ctx context.Context, realm Realm, options *wgn.WgtvTagsOptions) (*wgn.WgtvTags, error)
- func (service *WgnService) WgtvVehicles(ctx context.Context, realm Realm, options *wgn.WgtvVehiclesOptions) (*wgn.WgtvVehicles, error)
- func (service *WgnService) WgtvVideos(ctx context.Context, realm Realm, options *wgn.WgtvVideosOptions) ([]*wgn.WgtvVideos, error)
- type WotService
- func (service *WotService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, ...) (*wot.AccountAchievements, error)
- func (service *WotService) AccountInfo(ctx context.Context, realm Realm, accountId []int, ...) (*wot.AccountInfo, error)
- func (service *WotService) AccountList(ctx context.Context, realm Realm, search string, ...) ([]*wot.AccountList, error)
- func (service *WotService) AccountTanks(ctx context.Context, realm Realm, accountId []int, ...) (*wot.AccountTanks, error)
- func (service *WotService) AuthLogin(ctx context.Context, realm Realm, options *wot.AuthLoginOptions) (*wot.AuthLogin, error)
- func (service *WotService) AuthLogout(ctx context.Context, realm Realm, accessToken string) error
- func (service *WotService) AuthProlongate(ctx context.Context, realm Realm, accessToken string, ...) (*wot.AuthProlongate, error)
- func (service *WotService) ClanratingsClans(ctx context.Context, realm Realm, clanId []int, ...) (*wot.ClanratingsClans, error)
- func (service *WotService) ClanratingsDates(ctx context.Context, realm Realm, options *wot.ClanratingsDatesOptions) (*wot.ClanratingsDates, error)
- func (service *WotService) ClanratingsNeighbors(ctx context.Context, realm Realm, clanId int, rankField string, ...) ([]*wot.ClanratingsNeighbors, error)
- func (service *WotService) ClanratingsTop(ctx context.Context, realm Realm, rankField string, ...) ([]*wot.ClanratingsTop, error)
- func (service *WotService) ClanratingsTypes(ctx context.Context, realm Realm) (*wot.ClanratingsTypes, error)
- func (service *WotService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wot.ClansAccountinfo, error)
- func (service *WotService) ClansGlossary(ctx context.Context, realm Realm, options *wot.ClansGlossaryOptions) (*wot.ClansGlossary, error)
- func (service *WotService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wot.ClansInfoOptions) (*wot.ClansInfo, error)
- func (service *WotService) ClansList(ctx context.Context, realm Realm, options *wot.ClansListOptions) ([]*wot.ClansList, error)
- func (service *WotService) ClansMemberhistory(ctx context.Context, realm Realm, accountId int, ...) (*wot.ClansMemberhistory, error)
- func (service *WotService) ClansMessageboard(ctx context.Context, realm Realm, accessToken string, ...) (map[string][]*wot.ClansMessageboard, error)
- func (service *WotService) EncyclopediaAchievements(ctx context.Context, realm Realm, options *wot.EncyclopediaAchievementsOptions) (*wot.EncyclopediaAchievements, error)
- func (service *WotService) EncyclopediaArenas(ctx context.Context, realm Realm, options *wot.EncyclopediaArenasOptions) (*wot.EncyclopediaArenas, error)
- func (service *WotService) EncyclopediaBadges(ctx context.Context, realm Realm, options *wot.EncyclopediaBadgesOptions) (*wot.EncyclopediaBadges, error)
- func (service *WotService) EncyclopediaBoosters(ctx context.Context, realm Realm, options *wot.EncyclopediaBoostersOptions) (*wot.EncyclopediaBoosters, error)
- func (service *WotService) EncyclopediaCrewroles(ctx context.Context, realm Realm, options *wot.EncyclopediaCrewrolesOptions) (*wot.EncyclopediaCrewroles, error)
- func (service *WotService) EncyclopediaCrewskills(ctx context.Context, realm Realm, options *wot.EncyclopediaCrewskillsOptions) (*wot.EncyclopediaCrewskills, error)
- func (service *WotService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wot.EncyclopediaInfoOptions) (*wot.EncyclopediaInfo, error)
- func (service *WotService) EncyclopediaModules(ctx context.Context, realm Realm, options *wot.EncyclopediaModulesOptions) (*wot.EncyclopediaModules, error)
- func (service *WotService) EncyclopediaPersonalmissions(ctx context.Context, realm Realm, ...) (*wot.EncyclopediaPersonalmissions, error)
- func (service *WotService) EncyclopediaProvisions(ctx context.Context, realm Realm, options *wot.EncyclopediaProvisionsOptions) (*wot.EncyclopediaProvisions, error)
- func (service *WotService) EncyclopediaTankchassis(ctx context.Context, realm Realm, options *wot.EncyclopediaTankchassisOptions) (*wot.EncyclopediaTankchassis, error)deprecated
- func (service *WotService) EncyclopediaTankengines(ctx context.Context, realm Realm, options *wot.EncyclopediaTankenginesOptions) (*wot.EncyclopediaTankengines, error)deprecated
- func (service *WotService) EncyclopediaTankguns(ctx context.Context, realm Realm, options *wot.EncyclopediaTankgunsOptions) (*wot.EncyclopediaTankguns, error)deprecated
- func (service *WotService) EncyclopediaTankinfo(ctx context.Context, realm Realm, tankId []int, ...) (*wot.EncyclopediaTankinfo, error)deprecated
- func (service *WotService) EncyclopediaTankradios(ctx context.Context, realm Realm, options *wot.EncyclopediaTankradiosOptions) (*wot.EncyclopediaTankradios, error)deprecated
- func (service *WotService) EncyclopediaTanks(ctx context.Context, realm Realm, options *wot.EncyclopediaTanksOptions) (*wot.EncyclopediaTanks, error)deprecated
- func (service *WotService) EncyclopediaTankturrets(ctx context.Context, realm Realm, options *wot.EncyclopediaTankturretsOptions) (*wot.EncyclopediaTankturrets, error)deprecated
- func (service *WotService) EncyclopediaVehicleprofile(ctx context.Context, realm Realm, tankId int, ...) (*wot.EncyclopediaVehicleprofile, error)
- func (service *WotService) EncyclopediaVehicleprofiles(ctx context.Context, realm Realm, tankId int, ...) (*wot.EncyclopediaVehicleprofiles, error)
- func (service *WotService) EncyclopediaVehicles(ctx context.Context, realm Realm, options *wot.EncyclopediaVehiclesOptions) (*wot.EncyclopediaVehicles, error)
- func (service *WotService) GlobalmapClanbattles(ctx context.Context, realm Realm, clanId int, ...) ([]*wot.GlobalmapClanbattles, error)
- func (service *WotService) GlobalmapClaninfo(ctx context.Context, realm Realm, clanId []int, ...) (*wot.GlobalmapClaninfo, error)
- func (service *WotService) GlobalmapClanprovinces(ctx context.Context, realm Realm, clanId []int, ...) (*wot.GlobalmapClanprovinces, error)
- func (service *WotService) GlobalmapEventaccountinfo(ctx context.Context, realm Realm, eventId string, frontId []string, ...) (*wot.GlobalmapEventaccountinfo, error)
- func (service *WotService) GlobalmapEventaccountratingneighbors(ctx context.Context, realm Realm, accountId int, eventId string, ...) ([]*wot.GlobalmapEventaccountratingneighbors, error)
- func (service *WotService) GlobalmapEventaccountratings(ctx context.Context, realm Realm, eventId string, frontId string, ...) ([]*wot.GlobalmapEventaccountratings, error)
- func (service *WotService) GlobalmapEventclaninfo(ctx context.Context, realm Realm, clanId int, eventId string, frontId []string, ...) (*wot.GlobalmapEventclaninfo, error)
- func (service *WotService) GlobalmapEventrating(ctx context.Context, realm Realm, eventId string, frontId string, ...) ([]*wot.GlobalmapEventrating, error)
- func (service *WotService) GlobalmapEventratingneighbors(ctx context.Context, realm Realm, clanId int, eventId string, frontId string, ...) ([]*wot.GlobalmapEventratingneighbors, error)
- func (service *WotService) GlobalmapEvents(ctx context.Context, realm Realm, options *wot.GlobalmapEventsOptions) ([]*wot.GlobalmapEvents, error)
- func (service *WotService) GlobalmapFronts(ctx context.Context, realm Realm, options *wot.GlobalmapFrontsOptions) ([]*wot.GlobalmapFronts, error)
- func (service *WotService) GlobalmapInfo(ctx context.Context, realm Realm, options *wot.GlobalmapInfoOptions) (*wot.GlobalmapInfo, error)
- func (service *WotService) GlobalmapProvinces(ctx context.Context, realm Realm, frontId string, ...) ([]*wot.GlobalmapProvinces, error)
- func (service *WotService) GlobalmapSeasonaccountinfo(ctx context.Context, realm Realm, accountId int, seasonId string, ...) (*wot.GlobalmapSeasonaccountinfo, error)
- func (service *WotService) GlobalmapSeasonclaninfo(ctx context.Context, realm Realm, clanId int, seasonId string, ...) (*wot.GlobalmapSeasonclaninfo, error)
- func (service *WotService) GlobalmapSeasonrating(ctx context.Context, realm Realm, seasonId string, vehicleLevel string, ...) ([]*wot.GlobalmapSeasonrating, error)
- func (service *WotService) GlobalmapSeasonratingneighbors(ctx context.Context, realm Realm, clanId int, seasonId string, ...) ([]*wot.GlobalmapSeasonratingneighbors, error)
- func (service *WotService) GlobalmapSeasons(ctx context.Context, realm Realm, options *wot.GlobalmapSeasonsOptions) ([]*wot.GlobalmapSeasons, error)
- func (service *WotService) RatingsAccounts(ctx context.Context, realm Realm, accountId []int, typ string, ...) (*wot.RatingsAccounts, error)deprecated
- func (service *WotService) RatingsDates(ctx context.Context, realm Realm, typ string, options *wot.RatingsDatesOptions) (*wot.RatingsDates, error)deprecated
- func (service *WotService) RatingsNeighbors(ctx context.Context, realm Realm, accountId int, rankField string, typ string, ...) (*wot.RatingsNeighbors, error)deprecated
- func (service *WotService) RatingsTop(ctx context.Context, realm Realm, rankField string, typ string, ...) (*wot.RatingsTop, error)deprecated
- func (service *WotService) RatingsTypes(ctx context.Context, realm Realm, options *wot.RatingsTypesOptions) (*wot.RatingsTypes, error)deprecated
- func (service *WotService) StrongholdActivateclanreserve(ctx context.Context, realm Realm, accessToken string, reserveLevel int, ...) (*wot.StrongholdActivateclanreserve, error)
- func (service *WotService) StrongholdClaninfo(ctx context.Context, realm Realm, clanId []int, ...) (*wot.StrongholdClaninfo, error)
- func (service *WotService) StrongholdClanreserves(ctx context.Context, realm Realm, accessToken string, ...) ([]*wot.StrongholdClanreserves, error)
- func (service *WotService) TanksAchievements(ctx context.Context, realm Realm, accountId int, ...) (*wot.TanksAchievements, error)
- func (service *WotService) TanksMastery(ctx context.Context, realm Realm, distribution string, percentile []int, ...) (*wot.TanksMastery, error)
- func (service *WotService) TanksStats(ctx context.Context, realm Realm, accountId int, ...) (*wot.TanksStats, error)
- type WotbService
- func (service *WotbService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, ...) (*wotb.AccountAchievements, error)
- func (service *WotbService) AccountInfo(ctx context.Context, realm Realm, accountId []int, ...) (*wotb.AccountInfo, error)
- func (service *WotbService) AccountList(ctx context.Context, realm Realm, search string, ...) ([]*wotb.AccountList, error)
- func (service *WotbService) AccountTankstats(ctx context.Context, realm Realm, accountId []int, tankId int, ...) (*wotb.AccountTankstats, error)
- func (service *WotbService) ClanmessagesCreate(ctx context.Context, realm Realm, accessToken string, ...) (*wotb.ClanmessagesCreate, error)
- func (service *WotbService) ClanmessagesDelete(ctx context.Context, realm Realm, accessToken string, messageId int) error
- func (service *WotbService) ClanmessagesLike(ctx context.Context, realm Realm, accessToken string, action string, ...) error
- func (service *WotbService) ClanmessagesLikes(ctx context.Context, realm Realm, accessToken string, messageId []int, ...) ([]*wotb.ClanmessagesLikes, error)
- func (service *WotbService) ClanmessagesMessages(ctx context.Context, realm Realm, accessToken string, ...) (map[string][]*wotb.ClanmessagesMessages, error)
- func (service *WotbService) ClanmessagesUpdate(ctx context.Context, realm Realm, accessToken string, messageId int, ...) (*wotb.ClanmessagesUpdate, error)
- func (service *WotbService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wotb.ClansAccountinfo, error)
- func (service *WotbService) ClansGlossary(ctx context.Context, realm Realm, options *wotb.ClansGlossaryOptions) (*wotb.ClansGlossary, error)
- func (service *WotbService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wotb.ClansInfoOptions) (*wotb.ClansInfo, error)
- func (service *WotbService) ClansList(ctx context.Context, realm Realm, options *wotb.ClansListOptions) ([]*wotb.ClansList, error)
- func (service *WotbService) EncyclopediaAchievements(ctx context.Context, realm Realm, ...) (*wotb.EncyclopediaAchievements, error)
- func (service *WotbService) EncyclopediaCrewskills(ctx context.Context, realm Realm, options *wotb.EncyclopediaCrewskillsOptions) (*wotb.EncyclopediaCrewskills, error)
- func (service *WotbService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wotb.EncyclopediaInfoOptions) (*wotb.EncyclopediaInfo, error)
- func (service *WotbService) EncyclopediaModules(ctx context.Context, realm Realm, options *wotb.EncyclopediaModulesOptions) (*wotb.EncyclopediaModules, error)
- func (service *WotbService) EncyclopediaProvisions(ctx context.Context, realm Realm, options *wotb.EncyclopediaProvisionsOptions) (*wotb.EncyclopediaProvisions, error)
- func (service *WotbService) EncyclopediaVehicleprofile(ctx context.Context, realm Realm, tankId int, ...) (*wotb.EncyclopediaVehicleprofile, error)
- func (service *WotbService) EncyclopediaVehicleprofiles(ctx context.Context, realm Realm, tankId []int, ...) (*wotb.EncyclopediaVehicleprofiles, error)
- func (service *WotbService) EncyclopediaVehicles(ctx context.Context, realm Realm, options *wotb.EncyclopediaVehiclesOptions) (*wotb.EncyclopediaVehicles, error)
- func (service *WotbService) TanksAchievements(ctx context.Context, realm Realm, accountId int, ...) (*wotb.TanksAchievements, error)
- func (service *WotbService) TanksStats(ctx context.Context, realm Realm, accountId int, ...) (*wotb.TanksStats, error)
- func (service *WotbService) TournamentsInfo(ctx context.Context, realm Realm, tournamentId []int, ...) (*wotb.TournamentsInfo, error)
- func (service *WotbService) TournamentsList(ctx context.Context, realm Realm, options *wotb.TournamentsListOptions) ([]*wotb.TournamentsList, error)
- func (service *WotbService) TournamentsMatches(ctx context.Context, realm Realm, stageId int, tournamentId int, ...) (*wotb.TournamentsMatches, error)
- func (service *WotbService) TournamentsStages(ctx context.Context, realm Realm, tournamentId int, ...) ([]*wotb.TournamentsStages, error)
- func (service *WotbService) TournamentsStandings(ctx context.Context, realm Realm, tournamentId int, ...) ([]*wotb.TournamentsStandings, error)
- func (service *WotbService) TournamentsTables(ctx context.Context, realm Realm, stageId int, tournamentId int, ...) ([]*wotb.TournamentsTables, error)
- func (service *WotbService) TournamentsTeams(ctx context.Context, realm Realm, tournamentId int, ...) ([]*wotb.TournamentsTeams, error)
- type WotxService
- func (service *WotxService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, ...) (*wotx.AccountAchievements, error)
- func (service *WotxService) AccountInfo(ctx context.Context, realm Realm, accountId []int, ...) (*wotx.AccountInfo, error)
- func (service *WotxService) AccountList(ctx context.Context, realm Realm, search string, ...) ([]*wotx.AccountList, error)
- func (service *WotxService) AccountPsninfo(ctx context.Context, realm Realm, psnid []string) ([]*wotx.AccountPsninfo, error)
- func (service *WotxService) AccountXuidinfo(ctx context.Context, realm Realm, xuid []int) ([]*wotx.AccountXuidinfo, error)
- func (service *WotxService) AuthLogin(ctx context.Context, realm Realm, options *wotx.AuthLoginOptions) (*wotx.AuthLogin, error)
- func (service *WotxService) AuthLogout(ctx context.Context, realm Realm, accessToken string) error
- func (service *WotxService) AuthProlongate(ctx context.Context, realm Realm, accessToken string, ...) (*wotx.AuthProlongate, error)
- func (service *WotxService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wotx.ClansAccountinfo, error)
- func (service *WotxService) ClansGlossary(ctx context.Context, realm Realm, options *wotx.ClansGlossaryOptions) (*wotx.ClansGlossary, error)
- func (service *WotxService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wotx.ClansInfoOptions) (*wotx.ClansInfo, error)
- func (service *WotxService) ClansList(ctx context.Context, realm Realm, options *wotx.ClansListOptions) ([]*wotx.ClansList, error)
- func (service *WotxService) EncyclopediaAchievements(ctx context.Context, realm Realm, ...) (*wotx.EncyclopediaAchievements, error)
- func (service *WotxService) EncyclopediaArenas(ctx context.Context, realm Realm, options *wotx.EncyclopediaArenasOptions) (*wotx.EncyclopediaArenas, error)
- func (service *WotxService) EncyclopediaCrewroles(ctx context.Context, realm Realm, options *wotx.EncyclopediaCrewrolesOptions) (*wotx.EncyclopediaCrewroles, error)
- func (service *WotxService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wotx.EncyclopediaInfoOptions) (*wotx.EncyclopediaInfo, error)
- func (service *WotxService) EncyclopediaModules(ctx context.Context, realm Realm, options *wotx.EncyclopediaModulesOptions) (*wotx.EncyclopediaModules, error)
- func (service *WotxService) EncyclopediaVehicleprofile(ctx context.Context, realm Realm, tankId int, ...) (*wotx.EncyclopediaVehicleprofile, error)
- func (service *WotxService) EncyclopediaVehicles(ctx context.Context, realm Realm, options *wotx.EncyclopediaVehiclesOptions) (*wotx.EncyclopediaVehicles, error)
- func (service *WotxService) EncyclopediaVehicleupgrades(ctx context.Context, realm Realm, tankId []int, ...) (*wotx.EncyclopediaVehicleupgrades, error)
- func (service *WotxService) TanksAchievements(ctx context.Context, realm Realm, accountId int, ...) (*wotx.TanksAchievements, error)
- func (service *WotxService) TanksStats(ctx context.Context, realm Realm, accountId int, ...) (*wotx.TanksStats, error)
- type WowpService
- func (service *WowpService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, ...) (*wowp.AccountAchievements, error)
- func (service *WowpService) AccountInfo2(ctx context.Context, realm Realm, accountId []int, ...) (*wowp.AccountInfo2, error)
- func (service *WowpService) AccountList(ctx context.Context, realm Realm, search string, ...) ([]*wowp.AccountList, error)
- func (service *WowpService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wowp.ClansAccountinfo, error)
- func (service *WowpService) ClansGlossary(ctx context.Context, realm Realm, options *wowp.ClansGlossaryOptions) (*wowp.ClansGlossary, error)
- func (service *WowpService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wowp.ClansInfoOptions) (*wowp.ClansInfo, error)
- func (service *WowpService) ClansList(ctx context.Context, realm Realm, options *wowp.ClansListOptions) ([]*wowp.ClansList, error)
- func (service *WowpService) EncyclopediaAchievements(ctx context.Context, realm Realm, ...) (*wowp.EncyclopediaAchievements, error)
- func (service *WowpService) EncyclopediaInfo(ctx context.Context, realm Realm) (*wowp.EncyclopediaInfo, error)
- func (service *WowpService) EncyclopediaPlaneinfo(ctx context.Context, realm Realm, planeId []int, ...) (*wowp.EncyclopediaPlaneinfo, error)
- func (service *WowpService) EncyclopediaPlanemodules(ctx context.Context, realm Realm, planeId []int, ...) (*wowp.EncyclopediaPlanemodules, error)
- func (service *WowpService) EncyclopediaPlanes(ctx context.Context, realm Realm, options *wowp.EncyclopediaPlanesOptions) (*wowp.EncyclopediaPlanes, error)
- func (service *WowpService) EncyclopediaPlanespecification(ctx context.Context, realm Realm, planeId int, ...) (*wowp.EncyclopediaPlanespecification, error)
- func (service *WowpService) EncyclopediaPlaneupgrades(ctx context.Context, realm Realm, planeId []int, ...) (*wowp.EncyclopediaPlaneupgrades, error)
- func (service *WowpService) PlanesAchievements(ctx context.Context, realm Realm, accountId int, ...) (*wowp.PlanesAchievements, error)
- func (service *WowpService) PlanesStats(ctx context.Context, realm Realm, accountId int, ...) (*wowp.PlanesStats, error)
- func (service *WowpService) RatingsAccounts(ctx context.Context, realm Realm, accountId []int, typ string, ...) (*wowp.RatingsAccounts, error)
- func (service *WowpService) RatingsDates(ctx context.Context, realm Realm, typ string, ...) (*wowp.RatingsDates, error)
- func (service *WowpService) RatingsNeighbors(ctx context.Context, realm Realm, accountId int, rankField string, typ string, ...) ([]*wowp.RatingsNeighbors, error)
- func (service *WowpService) RatingsTop(ctx context.Context, realm Realm, rankField string, typ string, ...) ([]*wowp.RatingsTop, error)
- func (service *WowpService) RatingsTypes(ctx context.Context, realm Realm, options *wowp.RatingsTypesOptions) (*wowp.RatingsTypes, error)
- type WowsService
- func (service *WowsService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, ...) (*wows.AccountAchievements, error)
- func (service *WowsService) AccountInfo(ctx context.Context, realm Realm, accountId []int, ...) (*wows.AccountInfo, error)
- func (service *WowsService) AccountList(ctx context.Context, realm Realm, search string, ...) ([]*wows.AccountList, error)
- func (service *WowsService) AccountStatsbydate(ctx context.Context, realm Realm, accountId int, ...) (*wows.AccountStatsbydate, error)
- func (service *WowsService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wows.ClansAccountinfo, error)
- func (service *WowsService) ClansGlossary(ctx context.Context, realm Realm, options *wows.ClansGlossaryOptions) (*wows.ClansGlossary, error)
- func (service *WowsService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wows.ClansInfoOptions) (*wows.ClansInfo, error)
- func (service *WowsService) ClansList(ctx context.Context, realm Realm, options *wows.ClansListOptions) ([]*wows.ClansList, error)
- func (service *WowsService) ClansSeason(ctx context.Context, realm Realm, options *wows.ClansSeasonOptions) (*wows.ClansSeason, error)
- func (service *WowsService) EncyclopediaAccountlevels(ctx context.Context, realm Realm, ...) (*wows.EncyclopediaAccountlevels, error)
- func (service *WowsService) EncyclopediaAchievements(ctx context.Context, realm Realm, ...) (*wows.EncyclopediaAchievements, error)
- func (service *WowsService) EncyclopediaBattlearenas(ctx context.Context, realm Realm, ...) (*wows.EncyclopediaBattlearenas, error)
- func (service *WowsService) EncyclopediaBattletypes(ctx context.Context, realm Realm, options *wows.EncyclopediaBattletypesOptions) (*wows.EncyclopediaBattletypes, error)
- func (service *WowsService) EncyclopediaCollectioncards(ctx context.Context, realm Realm, ...) (*wows.EncyclopediaCollectioncards, error)
- func (service *WowsService) EncyclopediaCollections(ctx context.Context, realm Realm, options *wows.EncyclopediaCollectionsOptions) (*wows.EncyclopediaCollections, error)
- func (service *WowsService) EncyclopediaConsumables(ctx context.Context, realm Realm, options *wows.EncyclopediaConsumablesOptions) (*wows.EncyclopediaConsumables, error)
- func (service *WowsService) EncyclopediaCrewranks(ctx context.Context, realm Realm, options *wows.EncyclopediaCrewranksOptions) (*wows.EncyclopediaCrewranks, error)
- func (service *WowsService) EncyclopediaCrews(ctx context.Context, realm Realm, options *wows.EncyclopediaCrewsOptions) (*wows.EncyclopediaCrews, error)
- func (service *WowsService) EncyclopediaCrewskills(ctx context.Context, realm Realm, options *wows.EncyclopediaCrewskillsOptions) (*wows.EncyclopediaCrewskills, error)
- func (service *WowsService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wows.EncyclopediaInfoOptions) (*wows.EncyclopediaInfo, error)
- func (service *WowsService) EncyclopediaModules(ctx context.Context, realm Realm, options *wows.EncyclopediaModulesOptions) (*wows.EncyclopediaModules, error)
- func (service *WowsService) EncyclopediaShipprofile(ctx context.Context, realm Realm, shipId int, ...) (*wows.EncyclopediaShipprofile, error)
- func (service *WowsService) EncyclopediaShips(ctx context.Context, realm Realm, options *wows.EncyclopediaShipsOptions) (*wows.EncyclopediaShips, error)
- func (service *WowsService) SeasonsAccountinfo(ctx context.Context, realm Realm, accountId []int, ...) (*wows.SeasonsAccountinfo, error)
- func (service *WowsService) SeasonsInfo(ctx context.Context, realm Realm, options *wows.SeasonsInfoOptions) (*wows.SeasonsInfo, error)
- func (service *WowsService) SeasonsShipstats(ctx context.Context, realm Realm, accountId int, ...) (*wows.SeasonsShipstats, error)
- func (service *WowsService) ShipsStats(ctx context.Context, realm Realm, accountId int, ...) (*wows.ShipsStats, error)
Constants ¶
This section is empty.
Variables ¶
var ( // RealmAsia Asia. RealmAsia = realmS{ // contains filtered or unexported fields } // RealmEu Europe. RealmEu = realmS{ // contains filtered or unexported fields } // RealmNa North America. RealmNa = realmS{ // contains filtered or unexported fields } // RealmWgcb Wgcb. RealmWgcb = realmS{ // contains filtered or unexported fields } )
var (
InvalidResponse = errors.New("invalid response, 'status' was not ok but missing 'error'")
)
Functions ¶
func Bool ¶
Bool is a helper routine that allocates a new bool value to store val and returns a pointer to it.
Types ¶
type BadStatusCode ¶
type BadStatusCode int
func (BadStatusCode) Error ¶
func (err BadStatusCode) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for all api requests. As a quick start:
// create client client := wargaming.NewClient("a7f838650dcb008552966db063eeeb35", nil) // get account list res, err := client.Wot.AccountList(context.Background(), wargaming.realmEu, "Yzne", nil) // print out if err != nil { fmt.Println(err.Error()) } else { for _, value := range res { fmt.Println(value) } } // get account list with options res, err = client.Wot.AccountList(context.Background(), wargaming.realmEu, "Lichtgeschwindigkeit", &wot.AccountListOptions{ Fields: []string{"nickname"}, })
or with a custom http.Client
client := wargaming.NewClient("a7f838650dcb008552966db063eeeb35", &wargaming.ClientOptions{ HTTPClient: &http.Client{ Timeout: 10 * time.Second, }, })
func NewClient ¶
func NewClient(applicationId string, options *ClientOptions) *Client
NewClient creates a new API client. Pass nil as options if you want to use none.
type ClientOptions ¶
type InvalidRealm ¶
type InvalidRealm struct {
Realm Realm
}
func (InvalidRealm) Error ¶
func (err InvalidRealm) Error() string
type ResponseError ¶
type ResponseError struct { Field string `json:"field"` Message string `json:"message"` Code int `json:"code"` Value string `json:"value"` }
func (ResponseError) Description ¶
func (err ResponseError) Description() string
Description will return a detailed description about the error, will return "" if no description can be provided.
func (ResponseError) Error ¶
func (err ResponseError) Error() string
type WgnService ¶
type WgnService service
WgnService Wargaming.NET service.
func (*WgnService) AccountInfo ¶
func (service *WgnService) AccountInfo(ctx context.Context, realm Realm, accountId []int, options *wgn.AccountInfoOptions) (*wgn.AccountInfo, error)
AccountInfo returns Wargaming account details.
https://developers.wargaming.net/reference/all/wgn/account/info
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player ID. Maximum limit: 100.
func (*WgnService) AccountList ¶
func (service *WgnService) AccountList(ctx context.Context, realm Realm, search string, options *wgn.AccountListOptions) ([]*wgn.AccountList, error)
AccountList returns partial list of players who have ever accessed in any Wargaming game. The list is filtered by name or by initial characters of user name and sorted alphabetically.
https://developers.wargaming.net/reference/all/wgn/account/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
search:
Player name search string. Parameter "type" defines minimum length and type of search. Using the exact search type, you can enter several names, separated with commas. Maximum length: 24.
func (*WgnService) ClansGlossary
deprecated
func (service *WgnService) ClansGlossary(ctx context.Context, realm Realm, options *wgn.ClansGlossaryOptions) (*wgn.ClansGlossary, error)
ClansGlossary returns information on clan entities in World of Tanks and World of Warplanes.This method will be removed. Use method Clan glossary (World of Tanks)
https://developers.wargaming.net/reference/all/wgn/clans/glossary
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WgnService) ClansInfo
deprecated
func (service *WgnService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wgn.ClansInfoOptions) (*wgn.ClansInfo, error)
ClansInfo returns detailed clan information. Information is available for World of Tanks and World of Warplanes clans.This method will be removed. Use method Clan details (World of Tanks)
https://developers.wargaming.net/reference/all/wgn/clans/info
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. Maximum limit: 100.
func (*WgnService) ClansList
deprecated
func (service *WgnService) ClansList(ctx context.Context, realm Realm, options *wgn.ClansListOptions) (*wgn.ClansList, error)
ClansList searches and sorts clans by the following logic:
exact match of clan tag placed first exact match of clan name placed second name or tag matches are placed next all comparisons are performed case insensitive expression [wg] is converted to wg and considered as the clan tag search for expression "[wg] clan" is performed by exact match of clan name and tag
Disbanded, NPC and technically frozen clans are excluded from response. Search is executed across World of Tanks and World of Warplanes.This method will be removed. Use method Clans (World of Tanks)
https://developers.wargaming.net/reference/all/wgn/clans/list
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WgnService) ClansMemberhistory
deprecated
func (service *WgnService) ClansMemberhistory(ctx context.Context, realm Realm, accountId int, options *wgn.ClansMemberhistoryOptions) (*wgn.ClansMemberhistory, error)
ClansMemberhistory returns information about player's clan history. Data on 10 last clan memberships are presented in the response.This method will be removed. Use method Player's clan history (World of Tanks)
https://developers.wargaming.net/reference/all/wgn/clans/memberhistory
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Min value is 1.
func (*WgnService) ClansMembersinfo
deprecated
func (service *WgnService) ClansMembersinfo(ctx context.Context, realm Realm, accountId []int, options *wgn.ClansMembersinfoOptions) (*wgn.ClansMembersinfo, error)
ClansMembersinfo returns detailed clan member information and brief clan details. Information is available for World of Tanks and World of Warplanes clans.This method will be removed. Use method Clan member details (World of Tanks)
https://developers.wargaming.net/reference/all/wgn/clans/membersinfo
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Maximum limit: 100. Min value is 1.
func (*WgnService) ClansMessageboard
deprecated
func (service *WgnService) ClansMessageboard(ctx context.Context, realm Realm, accessToken string, options *wgn.ClansMessageboardOptions) (*wgn.ClansMessageboard, error)
ClansMessageboard returns messages of clan message board.This method will be removed. Use method Message board (World of Tanks)
https://developers.wargaming.net/reference/all/wgn/clans/messageboard
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WgnService) ServersInfo ¶
func (service *WgnService) ServersInfo(ctx context.Context, realm Realm, options *wgn.ServersInfoOptions) (*wgn.ServersInfo, error)
ServersInfo returns the number of online players on the servers.
https://developers.wargaming.net/reference/all/wgn/servers/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WgnService) WgtvTags ¶
func (service *WgnService) WgtvTags(ctx context.Context, realm Realm, options *wgn.WgtvTagsOptions) (*wgn.WgtvTags, error)
WgtvTags returns lists of game projects, categories, and programs.
https://developers.wargaming.net/reference/all/wgn/wgtv/tags
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WgnService) WgtvVehicles ¶
func (service *WgnService) WgtvVehicles(ctx context.Context, realm Realm, options *wgn.WgtvVehiclesOptions) (*wgn.WgtvVehicles, error)
WgtvVehicles returns list of vehicles sorted by games and covered by videos.
https://developers.wargaming.net/reference/all/wgn/wgtv/vehicles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WgnService) WgtvVideos ¶
func (service *WgnService) WgtvVideos(ctx context.Context, realm Realm, options *wgn.WgtvVideosOptions) ([]*wgn.WgtvVideos, error)
WgtvVideos returns list of videos filtered by the specified parameter.
https://developers.wargaming.net/reference/all/wgn/wgtv/videos
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
type WotService ¶
type WotService service
WotService World Of Tanks service.
func (*WotService) AccountAchievements ¶
func (service *WotService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, options *wot.AccountAchievementsOptions) (*wot.AccountAchievements, error)
AccountAchievements returns players' achievement details. Achievement properties define the achievements field values:
1-4 for Mastery Badges and Stage Achievements (type: "class"); maximum value of Achievement series (type: "series"); number of achievements earned from sections: Battle Hero, Epic Achievements, Group Achievements, Special Achievements, etc. (type: "repeatable, single, custom").
https://developers.wargaming.net/reference/all/wot/account/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WotService) AccountInfo ¶
func (service *WotService) AccountInfo(ctx context.Context, realm Realm, accountId []int, options *wot.AccountInfoOptions) (*wot.AccountInfo, error)
AccountInfo returns player details.
https://developers.wargaming.net/reference/all/wot/account/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WotService) AccountList ¶
func (service *WotService) AccountList(ctx context.Context, realm Realm, search string, options *wot.AccountListOptions) ([]*wot.AccountList, error)
AccountList returns partial list of players. The list is filtered by initial characters of user name and sorted alphabetically.
https://developers.wargaming.net/reference/all/wot/account/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
search:
Player name search string. Parameter "type" defines minimum length and type of search. Using the exact search type, you can enter several names, separated with commas. Maximum length: 24.
func (*WotService) AccountTanks ¶
func (service *WotService) AccountTanks(ctx context.Context, realm Realm, accountId []int, options *wot.AccountTanksOptions) (*wot.AccountTanks, error)
AccountTanks returns details on player's vehicles.
https://developers.wargaming.net/reference/all/wot/account/tanks
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WotService) AuthLogin ¶
func (service *WotService) AuthLogin(ctx context.Context, realm Realm, options *wot.AuthLoginOptions) (*wot.AuthLogin, error)
AuthLogin authenticates user based on Wargaming.net ID (OpenID) which is used in World of Tanks, World of Tanks Blitz, World of Warships, World of Warplanes, and WarGag.ru. To log in, player must enter email and password used for creating account, or use a social network profile. Authentication is not available for iOS Game Center users in the following cases:
the account is not linked to a social network account, or email and password are not specified in the profile.
Information on authorization status is sent to URL specified in redirect_uri parameter. If authentication is successful, the following parameters are sent to redirect_uri:
status: ok - successful authentication access_token - access token is passed in to all methods that require authentication expires_at - expiration date of access_token account_id - user ID nickname - user name.
If authentication fails, the following parameters are sent to redirect_uri:
status: error - authentication error code - error code message - error message.
https://developers.wargaming.net/reference/all/wot/auth/login
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) AuthLogout ¶
AuthLogout deletes user's access_token. After this method is called, access_token becomes invalid.
https://developers.wargaming.net/reference/all/wot/auth/logout
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotService) AuthProlongate ¶
func (service *WotService) AuthProlongate(ctx context.Context, realm Realm, accessToken string, options *wot.AuthProlongateOptions) (*wot.AuthProlongate, error)
AuthProlongate generates new access_token based on the current token. This method is used when the player is still using the application but the current access_token is about to expire.
https://developers.wargaming.net/reference/all/wot/auth/prolongate
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotService) ClanratingsClans ¶
func (service *WotService) ClanratingsClans(ctx context.Context, realm Realm, clanId []int, options *wot.ClanratingsClansOptions) (*wot.ClanratingsClans, error)
ClanratingsClans returns clan ratings by specified IDs.
https://developers.wargaming.net/reference/all/wot/clanratings/clans
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan IDs. Maximum limit: 100.
func (*WotService) ClanratingsDates ¶
func (service *WotService) ClanratingsDates(ctx context.Context, realm Realm, options *wot.ClanratingsDatesOptions) (*wot.ClanratingsDates, error)
ClanratingsDates returns dates with available rating data.
https://developers.wargaming.net/reference/all/wot/clanratings/dates
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) ClanratingsNeighbors ¶
func (service *WotService) ClanratingsNeighbors(ctx context.Context, realm Realm, clanId int, rankField string, options *wot.ClanratingsNeighborsOptions) ([]*wot.ClanratingsNeighbors, error)
ClanratingsNeighbors returns list of adjacent positions in specified clan rating.
https://developers.wargaming.net/reference/all/wot/clanratings/neighbors
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID
rankField:
Rating category
func (*WotService) ClanratingsTop ¶
func (service *WotService) ClanratingsTop(ctx context.Context, realm Realm, rankField string, options *wot.ClanratingsTopOptions) ([]*wot.ClanratingsTop, error)
ClanratingsTop returns the list of top clans by specified parameters.
https://developers.wargaming.net/reference/all/wot/clanratings/top
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
rankField:
Rating category
func (*WotService) ClanratingsTypes ¶
func (service *WotService) ClanratingsTypes(ctx context.Context, realm Realm) (*wot.ClanratingsTypes, error)
ClanratingsTypes returns details on ratings types and categories.
https://developers.wargaming.net/reference/all/wot/clanratings/types
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) ClansAccountinfo ¶
func (service *WotService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, options *wot.ClansAccountinfoOptions) (*wot.ClansAccountinfo, error)
ClansAccountinfo returns detailed clan member information and brief clan details.
https://developers.wargaming.net/reference/all/wot/clans/accountinfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Maximum limit: 100. Min value is 1.
func (*WotService) ClansGlossary ¶
func (service *WotService) ClansGlossary(ctx context.Context, realm Realm, options *wot.ClansGlossaryOptions) (*wot.ClansGlossary, error)
ClansGlossary returns information on clan entities.
https://developers.wargaming.net/reference/all/wot/clans/glossary
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) ClansInfo ¶
func (service *WotService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wot.ClansInfoOptions) (*wot.ClansInfo, error)
ClansInfo returns detailed clan information.
https://developers.wargaming.net/reference/all/wot/clans/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. Maximum limit: 100.
func (*WotService) ClansList ¶
func (service *WotService) ClansList(ctx context.Context, realm Realm, options *wot.ClansListOptions) ([]*wot.ClansList, error)
ClansList searches through clans and sorts them in a specified order.
https://developers.wargaming.net/reference/all/wot/clans/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) ClansMemberhistory ¶
func (service *WotService) ClansMemberhistory(ctx context.Context, realm Realm, accountId int, options *wot.ClansMemberhistoryOptions) (*wot.ClansMemberhistory, error)
ClansMemberhistory returns information about player's clan history. Data on 10 last clan memberships are presented in the response.This method will be removed. Use method Player's clan history (World of Tanks)
https://developers.wargaming.net/reference/all/wot/clans/memberhistory
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Min value is 1.
func (*WotService) ClansMessageboard ¶
func (service *WotService) ClansMessageboard(ctx context.Context, realm Realm, accessToken string, options *wot.ClansMessageboardOptions) (map[string][]*wot.ClansMessageboard, error)
ClansMessageboard returns messages of clan message board.This method will be removed. Use method Message board (World of Tanks)
https://developers.wargaming.net/reference/all/wot/clans/messageboard
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotService) EncyclopediaAchievements ¶
func (service *WotService) EncyclopediaAchievements(ctx context.Context, realm Realm, options *wot.EncyclopediaAchievementsOptions) (*wot.EncyclopediaAchievements, error)
EncyclopediaAchievements returns information about achievements.
https://developers.wargaming.net/reference/all/wot/encyclopedia/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaArenas ¶
func (service *WotService) EncyclopediaArenas(ctx context.Context, realm Realm, options *wot.EncyclopediaArenasOptions) (*wot.EncyclopediaArenas, error)
EncyclopediaArenas returns information about maps.
https://developers.wargaming.net/reference/all/wot/encyclopedia/arenas
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaBadges ¶
func (service *WotService) EncyclopediaBadges(ctx context.Context, realm Realm, options *wot.EncyclopediaBadgesOptions) (*wot.EncyclopediaBadges, error)
EncyclopediaBadges returns list of available badges a player can gain in Ranked Battles.
https://developers.wargaming.net/reference/all/wot/encyclopedia/badges
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaBoosters ¶
func (service *WotService) EncyclopediaBoosters(ctx context.Context, realm Realm, options *wot.EncyclopediaBoostersOptions) (*wot.EncyclopediaBoosters, error)
EncyclopediaBoosters returns information about Personal Reserves.
https://developers.wargaming.net/reference/all/wot/encyclopedia/boosters
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaCrewroles ¶
func (service *WotService) EncyclopediaCrewroles(ctx context.Context, realm Realm, options *wot.EncyclopediaCrewrolesOptions) (*wot.EncyclopediaCrewroles, error)
EncyclopediaCrewroles returns full description of all crew qualifications.
https://developers.wargaming.net/reference/all/wot/encyclopedia/crewroles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaCrewskills ¶
func (service *WotService) EncyclopediaCrewskills(ctx context.Context, realm Realm, options *wot.EncyclopediaCrewskillsOptions) (*wot.EncyclopediaCrewskills, error)
EncyclopediaCrewskills returns full description of all crew skills.
https://developers.wargaming.net/reference/all/wot/encyclopedia/crewskills
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaInfo ¶
func (service *WotService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wot.EncyclopediaInfoOptions) (*wot.EncyclopediaInfo, error)
EncyclopediaInfo returns information about Tankopedia.
https://developers.wargaming.net/reference/all/wot/encyclopedia/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaModules ¶
func (service *WotService) EncyclopediaModules(ctx context.Context, realm Realm, options *wot.EncyclopediaModulesOptions) (*wot.EncyclopediaModules, error)
EncyclopediaModules returns list of available modules that can be installed on vehicles, such as engines, turrets, etc. At least one input filter parameter (module ID, type) is required to be indicated.
https://developers.wargaming.net/reference/all/wot/encyclopedia/modules
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaPersonalmissions ¶
func (service *WotService) EncyclopediaPersonalmissions(ctx context.Context, realm Realm, options *wot.EncyclopediaPersonalmissionsOptions) (*wot.EncyclopediaPersonalmissions, error)
EncyclopediaPersonalmissions returns details on Personal Missions on the basis of specified campaign IDs, operation IDs, mission branch and tag IDs.
https://developers.wargaming.net/reference/all/wot/encyclopedia/personalmissions
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaProvisions ¶
func (service *WotService) EncyclopediaProvisions(ctx context.Context, realm Realm, options *wot.EncyclopediaProvisionsOptions) (*wot.EncyclopediaProvisions, error)
EncyclopediaProvisions returns a list of available equipment and consumables.
https://developers.wargaming.net/reference/all/wot/encyclopedia/provisions
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaTankchassis
deprecated
func (service *WotService) EncyclopediaTankchassis(ctx context.Context, realm Realm, options *wot.EncyclopediaTankchassisOptions) (*wot.EncyclopediaTankchassis, error)
EncyclopediaTankchassis returns list of suspensions.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tankchassis
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaTankengines
deprecated
func (service *WotService) EncyclopediaTankengines(ctx context.Context, realm Realm, options *wot.EncyclopediaTankenginesOptions) (*wot.EncyclopediaTankengines, error)
EncyclopediaTankengines returns list of engines.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tankengines
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaTankguns
deprecated
func (service *WotService) EncyclopediaTankguns(ctx context.Context, realm Realm, options *wot.EncyclopediaTankgunsOptions) (*wot.EncyclopediaTankguns, error)
EncyclopediaTankguns returns a tanks' gun list. The logic of this method and some field values may vary according to optional parameters passed. Changeable fields:
damage piercing_power rate price_credit price_gold
Optional input parameters work as follows:
correct turret_id passed - tank guns are filtered by whether they are placed on the turret and the abovementioned values change according to the turret; correct turret_id and module_id passed - the method returns details on each module with the abovementioned values changed according to the turret, or returns null if the module is not compatible with the turret; correct tank_id passed - if tank type matches one of AT-SPG, SPG, mediumTank, tank guns are filtered by whether they belong to the tank, the abovementioned values change according to the tank; otherwise, returns an error and requests turret_id. If module_id is also passed, the method returns details on each module with the abovementioned values changed according to the tank, or returns null if the module is not compatible with the tank; compatible turret_id and tank_id passed - tank guns are filtered by whether they belong to the tank and are placed on the turret, the abovementioned values changed according to the turret.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tankguns
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaTankinfo
deprecated
func (service *WotService) EncyclopediaTankinfo(ctx context.Context, realm Realm, tankId []int, options *wot.EncyclopediaTankinfoOptions) (*wot.EncyclopediaTankinfo, error)
EncyclopediaTankinfo returns vehicle details from Tankopedia.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tankinfo
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tankId:
Vehicle ID. Maximum limit: 1000.
func (*WotService) EncyclopediaTankradios
deprecated
func (service *WotService) EncyclopediaTankradios(ctx context.Context, realm Realm, options *wot.EncyclopediaTankradiosOptions) (*wot.EncyclopediaTankradios, error)
EncyclopediaTankradios returns list of radios.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tankradios
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaTanks
deprecated
func (service *WotService) EncyclopediaTanks(ctx context.Context, realm Realm, options *wot.EncyclopediaTanksOptions) (*wot.EncyclopediaTanks, error)
EncyclopediaTanks returns list of all vehicles from Tankopedia.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tanks
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaTankturrets
deprecated
func (service *WotService) EncyclopediaTankturrets(ctx context.Context, realm Realm, options *wot.EncyclopediaTankturretsOptions) (*wot.EncyclopediaTankturrets, error)
EncyclopediaTankturrets returns list of turrets.
https://developers.wargaming.net/reference/all/wot/encyclopedia/tankturrets
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) EncyclopediaVehicleprofile ¶
func (service *WotService) EncyclopediaVehicleprofile(ctx context.Context, realm Realm, tankId int, options *wot.EncyclopediaVehicleprofileOptions) (*wot.EncyclopediaVehicleprofile, error)
EncyclopediaVehicleprofile returns vehicle configuration characteristics based on the specified module IDs.
https://developers.wargaming.net/reference/all/wot/encyclopedia/vehicleprofile
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tankId:
Vehicle ID
func (*WotService) EncyclopediaVehicleprofiles ¶
func (service *WotService) EncyclopediaVehicleprofiles(ctx context.Context, realm Realm, tankId int, options *wot.EncyclopediaVehicleprofilesOptions) (*wot.EncyclopediaVehicleprofiles, error)
EncyclopediaVehicleprofiles returns vehicle configuration characteristics.
https://developers.wargaming.net/reference/all/wot/encyclopedia/vehicleprofiles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tankId:
Vehicle ID
func (*WotService) EncyclopediaVehicles ¶
func (service *WotService) EncyclopediaVehicles(ctx context.Context, realm Realm, options *wot.EncyclopediaVehiclesOptions) (*wot.EncyclopediaVehicles, error)
EncyclopediaVehicles returns list of available vehicles.
https://developers.wargaming.net/reference/all/wot/encyclopedia/vehicles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) GlobalmapClanbattles ¶
func (service *WotService) GlobalmapClanbattles(ctx context.Context, realm Realm, clanId int, options *wot.GlobalmapClanbattlesOptions) ([]*wot.GlobalmapClanbattles, error)
GlobalmapClanbattles returns list of clan's battles on the Global Map.
https://developers.wargaming.net/reference/all/wot/globalmap/clanbattles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method.
func (*WotService) GlobalmapClaninfo ¶
func (service *WotService) GlobalmapClaninfo(ctx context.Context, realm Realm, clanId []int, options *wot.GlobalmapClaninfoOptions) (*wot.GlobalmapClaninfo, error)
GlobalmapClaninfo returns clan data on the Global Map.
https://developers.wargaming.net/reference/all/wot/globalmap/claninfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method. Maximum limit: 10.
func (*WotService) GlobalmapClanprovinces ¶
func (service *WotService) GlobalmapClanprovinces(ctx context.Context, realm Realm, clanId []int, options *wot.GlobalmapClanprovincesOptions) (*wot.GlobalmapClanprovinces, error)
GlobalmapClanprovinces returns lists of clans provinces.
https://developers.wargaming.net/reference/all/wot/globalmap/clanprovinces
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
List of clan IDs. To get a clan ID, use the Clans method. Maximum limit: 10.
func (*WotService) GlobalmapEventaccountinfo ¶
func (service *WotService) GlobalmapEventaccountinfo(ctx context.Context, realm Realm, eventId string, frontId []string, options *wot.GlobalmapEventaccountinfoOptions) (*wot.GlobalmapEventaccountinfo, error)
GlobalmapEventaccountinfo returns player's statistics for a specific event
https://developers.wargaming.net/reference/all/wot/globalmap/eventaccountinfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
eventId:
Event ID. To get an event ID, use the Events method.
frontId:
Front ID. To get a front ID, use the Fronts method. Maximum limit: 10.
func (*WotService) GlobalmapEventaccountratingneighbors ¶
func (service *WotService) GlobalmapEventaccountratingneighbors(ctx context.Context, realm Realm, accountId int, eventId string, frontId string, options *wot.GlobalmapEventaccountratingneighborsOptions) ([]*wot.GlobalmapEventaccountratingneighbors, error)
GlobalmapEventaccountratingneighbors returns adjacent position in account event rating.
https://developers.wargaming.net/reference/all/wot/globalmap/eventaccountratingneighbors
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Min value is 1.
eventId:
Event ID. To get an event ID, use the Events method.
frontId:
Front ID. To get a front ID, use the Fronts method.
func (*WotService) GlobalmapEventaccountratings ¶
func (service *WotService) GlobalmapEventaccountratings(ctx context.Context, realm Realm, eventId string, frontId string, options *wot.GlobalmapEventaccountratingsOptions) ([]*wot.GlobalmapEventaccountratings, error)
GlobalmapEventaccountratings returns account event rating.
https://developers.wargaming.net/reference/all/wot/globalmap/eventaccountratings
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
eventId:
Event ID. To get an event ID, use the Events method.
frontId:
Front ID. To get a front ID, use the Fronts method.
func (*WotService) GlobalmapEventclaninfo ¶
func (service *WotService) GlobalmapEventclaninfo(ctx context.Context, realm Realm, clanId int, eventId string, frontId []string, options *wot.GlobalmapEventclaninfoOptions) (*wot.GlobalmapEventclaninfo, error)
GlobalmapEventclaninfo returns clan's statistics for a specific event.
https://developers.wargaming.net/reference/all/wot/globalmap/eventclaninfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method. Min value is 1.
eventId:
Event ID. To get an event ID, use the Events method.
frontId:
Front ID. To get a front ID, use the Fronts method. Maximum limit: 10.
func (*WotService) GlobalmapEventrating ¶
func (service *WotService) GlobalmapEventrating(ctx context.Context, realm Realm, eventId string, frontId string, options *wot.GlobalmapEventratingOptions) ([]*wot.GlobalmapEventrating, error)
GlobalmapEventrating returns event clan rating
https://developers.wargaming.net/reference/all/wot/globalmap/eventrating
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
eventId:
Event ID. To get an event ID, use the Events method.
frontId:
Front ID. To get a front ID, use the Fronts method.
func (*WotService) GlobalmapEventratingneighbors ¶
func (service *WotService) GlobalmapEventratingneighbors(ctx context.Context, realm Realm, clanId int, eventId string, frontId string, options *wot.GlobalmapEventratingneighborsOptions) ([]*wot.GlobalmapEventratingneighbors, error)
GlobalmapEventratingneighbors returns list of adjacent positions in event clan rating
https://developers.wargaming.net/reference/all/wot/globalmap/eventratingneighbors
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method. Min value is 1.
eventId:
Event ID. To get an event ID, use the Events method.
frontId:
Front ID. To get a front ID, use the Fronts method.
func (*WotService) GlobalmapEvents ¶
func (service *WotService) GlobalmapEvents(ctx context.Context, realm Realm, options *wot.GlobalmapEventsOptions) ([]*wot.GlobalmapEvents, error)
GlobalmapEvents returns events information.
https://developers.wargaming.net/reference/all/wot/globalmap/events
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) GlobalmapFronts ¶
func (service *WotService) GlobalmapFronts(ctx context.Context, realm Realm, options *wot.GlobalmapFrontsOptions) ([]*wot.GlobalmapFronts, error)
GlobalmapFronts returns information about the Global Map Fronts.
https://developers.wargaming.net/reference/all/wot/globalmap/fronts
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) GlobalmapInfo ¶
func (service *WotService) GlobalmapInfo(ctx context.Context, realm Realm, options *wot.GlobalmapInfoOptions) (*wot.GlobalmapInfo, error)
GlobalmapInfo returns general information about the Global Map.
https://developers.wargaming.net/reference/all/wot/globalmap/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) GlobalmapProvinces ¶
func (service *WotService) GlobalmapProvinces(ctx context.Context, realm Realm, frontId string, options *wot.GlobalmapProvincesOptions) ([]*wot.GlobalmapProvinces, error)
GlobalmapProvinces returns information about the Global Map provinces.
https://developers.wargaming.net/reference/all/wot/globalmap/provinces
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
frontId:
Front ID. To get a front ID, use the Fronts method.
func (*WotService) GlobalmapSeasonaccountinfo ¶
func (service *WotService) GlobalmapSeasonaccountinfo(ctx context.Context, realm Realm, accountId int, seasonId string, vehicleLevel []string, options *wot.GlobalmapSeasonaccountinfoOptions) (*wot.GlobalmapSeasonaccountinfo, error)
GlobalmapSeasonaccountinfo returns player's statistics for a specific season.
https://developers.wargaming.net/reference/all/wot/globalmap/seasonaccountinfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Min value is 1.
seasonId:
Season ID. To get a season ID, use the Seasons method.
vehicleLevel:
List of vehicle Tiers. Maximum limit: 100. Valid values: "6" - Vehicles of Tier 6 "8" - Vehicles of Tier 8 "10" - Vehicles of Tier 10
func (*WotService) GlobalmapSeasonclaninfo ¶
func (service *WotService) GlobalmapSeasonclaninfo(ctx context.Context, realm Realm, clanId int, seasonId string, vehicleLevel []string, options *wot.GlobalmapSeasonclaninfoOptions) (*wot.GlobalmapSeasonclaninfo, error)
GlobalmapSeasonclaninfo returns clan's statistics for a specific season.
https://developers.wargaming.net/reference/all/wot/globalmap/seasonclaninfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method. Min value is 1.
seasonId:
Season ID. To get a season ID, use the Seasons method.
vehicleLevel:
List of vehicle Tiers. Maximum limit: 100. Valid values: "6" - Vehicles of Tier 6 "8" - Vehicles of Tier 8 "10" - Vehicles of Tier 10
func (*WotService) GlobalmapSeasonrating ¶
func (service *WotService) GlobalmapSeasonrating(ctx context.Context, realm Realm, seasonId string, vehicleLevel string, options *wot.GlobalmapSeasonratingOptions) ([]*wot.GlobalmapSeasonrating, error)
GlobalmapSeasonrating returns season clan rating.
https://developers.wargaming.net/reference/all/wot/globalmap/seasonrating
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
seasonId:
Season ID. To get a season ID, use the Seasons method.
vehicleLevel:
Vehicle Tier. Valid values: "6" - Vehicles of Tier 6 "8" - Vehicles of Tier 8 "10" - Vehicles of Tier 10
func (*WotService) GlobalmapSeasonratingneighbors ¶
func (service *WotService) GlobalmapSeasonratingneighbors(ctx context.Context, realm Realm, clanId int, seasonId string, vehicleLevel string, options *wot.GlobalmapSeasonratingneighborsOptions) ([]*wot.GlobalmapSeasonratingneighbors, error)
GlobalmapSeasonratingneighbors returns list of adjacent positions in season clan rating.
https://developers.wargaming.net/reference/all/wot/globalmap/seasonratingneighbors
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method. Min value is 1.
seasonId:
Season ID. To get a season ID, use the Seasons method.
vehicleLevel:
Vehicle Tier. Valid values: "6" - Vehicles of Tier 6 "8" - Vehicles of Tier 8 "10" - Vehicles of Tier 10
func (*WotService) GlobalmapSeasons ¶
func (service *WotService) GlobalmapSeasons(ctx context.Context, realm Realm, options *wot.GlobalmapSeasonsOptions) ([]*wot.GlobalmapSeasons, error)
GlobalmapSeasons returns information about seasons.
https://developers.wargaming.net/reference/all/wot/globalmap/seasons
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) RatingsAccounts
deprecated
func (service *WotService) RatingsAccounts(ctx context.Context, realm Realm, accountId []int, typ string, options *wot.RatingsAccountsOptions) (*wot.RatingsAccounts, error)
RatingsAccounts returns player ratings by specified IDs.
https://developers.wargaming.net/reference/all/wot/ratings/accounts
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
IDs of player accounts. Maximum limit: 100.
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WotService) RatingsDates
deprecated
func (service *WotService) RatingsDates(ctx context.Context, realm Realm, typ string, options *wot.RatingsDatesOptions) (*wot.RatingsDates, error)
RatingsDates returns dates with available rating data.
https://developers.wargaming.net/reference/all/wot/ratings/dates
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WotService) RatingsNeighbors
deprecated
func (service *WotService) RatingsNeighbors(ctx context.Context, realm Realm, accountId int, rankField string, typ string, options *wot.RatingsNeighborsOptions) (*wot.RatingsNeighbors, error)
RatingsNeighbors returns list of adjacent positions in specified rating.
https://developers.wargaming.net/reference/all/wot/ratings/neighbors
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
rankField:
Rating category
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WotService) RatingsTop
deprecated
func (service *WotService) RatingsTop(ctx context.Context, realm Realm, rankField string, typ string, options *wot.RatingsTopOptions) (*wot.RatingsTop, error)
RatingsTop returns list of top players by specified parameter.
https://developers.wargaming.net/reference/all/wot/ratings/top
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
rankField:
Rating category
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WotService) RatingsTypes
deprecated
func (service *WotService) RatingsTypes(ctx context.Context, realm Realm, options *wot.RatingsTypesOptions) (*wot.RatingsTypes, error)
RatingsTypes returns dictionary of rating periods and ratings details.
https://developers.wargaming.net/reference/all/wot/ratings/types
Deprecated: Attention! The method is deprecated.
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotService) StrongholdActivateclanreserve ¶
func (service *WotService) StrongholdActivateclanreserve(ctx context.Context, realm Realm, accessToken string, reserveLevel int, reserveType string, options *wot.StrongholdActivateclanreserveOptions) (*wot.StrongholdActivateclanreserve, error)
StrongholdActivateclanreserve This method activates an available clan Reserve. A clan Reserve can be activated only by a clan member with the required permission.
https://developers.wargaming.net/reference/all/wot/stronghold/activateclanreserve
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
reserveLevel:
Level of clan Reserve to be activated
reserveType:
Type of clan Reserve to be activated
func (*WotService) StrongholdClaninfo ¶
func (service *WotService) StrongholdClaninfo(ctx context.Context, realm Realm, clanId []int, options *wot.StrongholdClaninfoOptions) (*wot.StrongholdClaninfo, error)
StrongholdClaninfo returns general information and the battle statistics of clans in the Stronghold mode. Please note that information about the number of battles fought as well as the number of defeats and victories is updated once every 24 hours.
https://developers.wargaming.net/reference/all/wot/stronghold/claninfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. To get a clan ID, use the Clans method. Maximum limit: 10.
func (*WotService) StrongholdClanreserves ¶
func (service *WotService) StrongholdClanreserves(ctx context.Context, realm Realm, accessToken string, options *wot.StrongholdClanreservesOptions) ([]*wot.StrongholdClanreserves, error)
StrongholdClanreserves returns information about available Reserves and their current status.
https://developers.wargaming.net/reference/all/wot/stronghold/clanreserves
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotService) TanksAchievements ¶
func (service *WotService) TanksAchievements(ctx context.Context, realm Realm, accountId int, options *wot.TanksAchievementsOptions) (*wot.TanksAchievements, error)
TanksAchievements returns list of achievements on all player's vehicles. Achievement properties define the achievements field values:
1-4 for Mastery Badges and Stage Achievements (type: "class"); maximum value of Achievement series (type: "series"); number of achievements earned from sections: Battle Hero, Epic Achievements, Group Achievements, Special Achievements, etc. (type: "repeatable, single, custom").
https://developers.wargaming.net/reference/all/wot/tanks/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
func (*WotService) TanksMastery ¶
func (service *WotService) TanksMastery(ctx context.Context, realm Realm, distribution string, percentile []int, options *wot.TanksMasteryOptions) (*wot.TanksMastery, error)
TanksMastery The method returns percentiles of the distribution of average damage or experience values for each piece of equipment
https://developers.wargaming.net/reference/all/wot/tanks/mastery
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
distribution:
Type of data. Valid values: "damage" - Use damage distribution "xp" - Use a distribution based on experience
percentile:
A list of percentiles to be included in the response. Maximum limit: 10. Min value is 1. Maximum value: 100.
func (*WotService) TanksStats ¶
func (service *WotService) TanksStats(ctx context.Context, realm Realm, accountId int, options *wot.TanksStatsOptions) (*wot.TanksStats, error)
TanksStats returns overall statistics, Tank Company statistics, and clan statistics per each vehicle for each user.
https://developers.wargaming.net/reference/all/wot/tanks/stats
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
type WotbService ¶
type WotbService service
WotbService World Of Tanks Blitz service.
func (*WotbService) AccountAchievements ¶
func (service *WotbService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, options *wotb.AccountAchievementsOptions) (*wotb.AccountAchievements, error)
AccountAchievements returns players' achievement details.
https://developers.wargaming.net/reference/all/wotb/account/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WotbService) AccountInfo ¶
func (service *WotbService) AccountInfo(ctx context.Context, realm Realm, accountId []int, options *wotb.AccountInfoOptions) (*wotb.AccountInfo, error)
AccountInfo returns player details.
https://developers.wargaming.net/reference/all/wotb/account/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WotbService) AccountList ¶
func (service *WotbService) AccountList(ctx context.Context, realm Realm, search string, options *wotb.AccountListOptions) ([]*wotb.AccountList, error)
AccountList returns partial list of players. The list is filtered by initial characters of user name and sorted alphabetically.
https://developers.wargaming.net/reference/all/wotb/account/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
search:
Player name search string. Parameter "type" defines minimum length and type of search. Using the exact search type, you can enter several names, separated with commas. Maximum length: 24.
func (*WotbService) AccountTankstats ¶
func (service *WotbService) AccountTankstats(ctx context.Context, realm Realm, accountId []int, tankId int, options *wotb.AccountTankstatsOptions) (*wotb.AccountTankstats, error)
AccountTankstats returns players' statistics on the vehicle.
https://developers.wargaming.net/reference/all/wotb/account/tankstats
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
tankId:
Player's vehicle ID
func (*WotbService) ClanmessagesCreate ¶
func (service *WotbService) ClanmessagesCreate(ctx context.Context, realm Realm, accessToken string, expiresAt wgnTime.UnixTime, importance string, text string, title string, typ string) (*wotb.ClanmessagesCreate, error)
ClanmessagesCreate creates a message on clan message board.
https://developers.wargaming.net/reference/all/wotb/clanmessages/create
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
expiresAt:
Date when message will become irrelevant. Date in UNIX timestamp or ISO 8601 format. E.g.: 1376542800 or 2013-08-15T00:00:00. Date must be in the future.
importance:
Message importance. Valid values: "important" - Important messages "standard" - Standard messages
text:
Message text. Max. length: 1000. Maximum length: 1000.
title:
Message title. Max. length: 100. Maximum length: 100.
typ:
Message type. Valid values: "general" - General messages "training" - Training messages "meeting" - Meeting messages "battle" - Battle messages
func (*WotbService) ClanmessagesDelete ¶
func (service *WotbService) ClanmessagesDelete(ctx context.Context, realm Realm, accessToken string, messageId int) error
ClanmessagesDelete removes a message on clan message board.
https://developers.wargaming.net/reference/all/wotb/clanmessages/delete
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
messageId:
Message ID
func (*WotbService) ClanmessagesLike ¶
func (service *WotbService) ClanmessagesLike(ctx context.Context, realm Realm, accessToken string, action string, messageId int) error
ClanmessagesLike likes or unlikes a message on clan message board.
https://developers.wargaming.net/reference/all/wotb/clanmessages/like
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
action:
Action. Valid values: "add" - Set a like for message "remove" - Remove a like for message
messageId:
Message ID
func (*WotbService) ClanmessagesLikes ¶
func (service *WotbService) ClanmessagesLikes(ctx context.Context, realm Realm, accessToken string, messageId []int, options *wotb.ClanmessagesLikesOptions) ([]*wotb.ClanmessagesLikes, error)
ClanmessagesLikes returns message likes on clan message board.
https://developers.wargaming.net/reference/all/wotb/clanmessages/likes
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
messageId:
Message ID. Maximum limit: 10.
func (*WotbService) ClanmessagesMessages ¶
func (service *WotbService) ClanmessagesMessages(ctx context.Context, realm Realm, accessToken string, options *wotb.ClanmessagesMessagesOptions) (map[string][]*wotb.ClanmessagesMessages, error)
ClanmessagesMessages returns messages of clan message board. If a single message requested by ID, all filters are ignored and total equals null.
https://developers.wargaming.net/reference/all/wotb/clanmessages/messages
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotbService) ClanmessagesUpdate ¶
func (service *WotbService) ClanmessagesUpdate(ctx context.Context, realm Realm, accessToken string, messageId int, options *wotb.ClanmessagesUpdateOptions) (*wotb.ClanmessagesUpdate, error)
ClanmessagesUpdate updates a message on clan message board. At least one changed parameter should be specified.
https://developers.wargaming.net/reference/all/wotb/clanmessages/update
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
messageId:
Message ID
func (*WotbService) ClansAccountinfo ¶
func (service *WotbService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, options *wotb.ClansAccountinfoOptions) (*wotb.ClansAccountinfo, error)
ClansAccountinfo returns player clan data. Player clan data exist only for accounts, that were participating in clan activities: sent join requests, were clan members etc.
https://developers.wargaming.net/reference/all/wotb/clans/accountinfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Maximum limit: 100. Min value is 1.
func (*WotbService) ClansGlossary ¶
func (service *WotbService) ClansGlossary(ctx context.Context, realm Realm, options *wotb.ClansGlossaryOptions) (*wotb.ClansGlossary, error)
ClansGlossary returns information on clan entities.
https://developers.wargaming.net/reference/all/wotb/clans/glossary
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) ClansInfo ¶
func (service *WotbService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wotb.ClansInfoOptions) (*wotb.ClansInfo, error)
ClansInfo returns detailed clan information.
https://developers.wargaming.net/reference/all/wotb/clans/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. Maximum limit: 100. Min value is 1.
func (*WotbService) ClansList ¶
func (service *WotbService) ClansList(ctx context.Context, realm Realm, options *wotb.ClansListOptions) ([]*wotb.ClansList, error)
ClansList searches through clans and sorts them in a specified order.
https://developers.wargaming.net/reference/all/wotb/clans/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) EncyclopediaAchievements ¶
func (service *WotbService) EncyclopediaAchievements(ctx context.Context, realm Realm, options *wotb.EncyclopediaAchievementsOptions) (*wotb.EncyclopediaAchievements, error)
EncyclopediaAchievements returns information about achievements.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) EncyclopediaCrewskills ¶
func (service *WotbService) EncyclopediaCrewskills(ctx context.Context, realm Realm, options *wotb.EncyclopediaCrewskillsOptions) (*wotb.EncyclopediaCrewskills, error)
EncyclopediaCrewskills returns information about crew skills.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/crewskills
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) EncyclopediaInfo ¶
func (service *WotbService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wotb.EncyclopediaInfoOptions) (*wotb.EncyclopediaInfo, error)
EncyclopediaInfo returns information about Tankopedia.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) EncyclopediaModules ¶
func (service *WotbService) EncyclopediaModules(ctx context.Context, realm Realm, options *wotb.EncyclopediaModulesOptions) (*wotb.EncyclopediaModules, error)
EncyclopediaModules returns list of available modules, such as guns, engines, etc.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/modules
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) EncyclopediaProvisions ¶
func (service *WotbService) EncyclopediaProvisions(ctx context.Context, realm Realm, options *wotb.EncyclopediaProvisionsOptions) (*wotb.EncyclopediaProvisions, error)
EncyclopediaProvisions returns list of available equipment and consumables.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/provisions
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) EncyclopediaVehicleprofile ¶
func (service *WotbService) EncyclopediaVehicleprofile(ctx context.Context, realm Realm, tankId int, options *wotb.EncyclopediaVehicleprofileOptions) (*wotb.EncyclopediaVehicleprofile, error)
EncyclopediaVehicleprofile returns vehicle configuration characteristics based on the specified module IDs.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/vehicleprofile
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tankId:
Vehicle ID
func (*WotbService) EncyclopediaVehicleprofiles ¶
func (service *WotbService) EncyclopediaVehicleprofiles(ctx context.Context, realm Realm, tankId []int, options *wotb.EncyclopediaVehicleprofilesOptions) (*wotb.EncyclopediaVehicleprofiles, error)
EncyclopediaVehicleprofiles returns vehicle configuration characteristics.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/vehicleprofiles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tankId:
Vehicle ID. Maximum limit: 25.
func (*WotbService) EncyclopediaVehicles ¶
func (service *WotbService) EncyclopediaVehicles(ctx context.Context, realm Realm, options *wotb.EncyclopediaVehiclesOptions) (*wotb.EncyclopediaVehicles, error)
EncyclopediaVehicles returns list of available vehicles.
https://developers.wargaming.net/reference/all/wotb/encyclopedia/vehicles
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) TanksAchievements ¶
func (service *WotbService) TanksAchievements(ctx context.Context, realm Realm, accountId int, options *wotb.TanksAchievementsOptions) (*wotb.TanksAchievements, error)
TanksAchievements returns list of player's achievements on all vehicles.
https://developers.wargaming.net/reference/all/wotb/tanks/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
func (*WotbService) TanksStats ¶
func (service *WotbService) TanksStats(ctx context.Context, realm Realm, accountId int, options *wotb.TanksStatsOptions) (*wotb.TanksStats, error)
TanksStats returns general statistics for each vehicle of each player.
https://developers.wargaming.net/reference/all/wotb/tanks/stats
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
func (*WotbService) TournamentsInfo ¶
func (service *WotbService) TournamentsInfo(ctx context.Context, realm Realm, tournamentId []int, options *wotb.TournamentsInfoOptions) (*wotb.TournamentsInfo, error)
TournamentsInfo returns detailed information on the specified tournament.
https://developers.wargaming.net/reference/all/wotb/tournaments/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tournamentId:
Tournament ID that can be retrieved from the Tournaments list method. Maximum limit: 25.
func (*WotbService) TournamentsList ¶
func (service *WotbService) TournamentsList(ctx context.Context, realm Realm, options *wotb.TournamentsListOptions) ([]*wotb.TournamentsList, error)
TournamentsList returns list of tournaments.
https://developers.wargaming.net/reference/all/wotb/tournaments/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WotbService) TournamentsMatches ¶
func (service *WotbService) TournamentsMatches(ctx context.Context, realm Realm, stageId int, tournamentId int, options *wotb.TournamentsMatchesOptions) (*wotb.TournamentsMatches, error)
TournamentsMatches returns information about matches of a particular tournament and stage.
https://developers.wargaming.net/reference/all/wotb/tournaments/matches
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
stageId:
Stage ID that can be retrieved from the Tournaments Stages method.
tournamentId:
Tournament ID that can be retrieved from the Tournaments list method.
func (*WotbService) TournamentsStages ¶
func (service *WotbService) TournamentsStages(ctx context.Context, realm Realm, tournamentId int, options *wotb.TournamentsStagesOptions) ([]*wotb.TournamentsStages, error)
TournamentsStages returns list of stages in specified tournament.
https://developers.wargaming.net/reference/all/wotb/tournaments/stages
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tournamentId:
Tournament ID that can be retrieved from the Tournaments list method.
func (*WotbService) TournamentsStandings ¶
func (service *WotbService) TournamentsStandings(ctx context.Context, realm Realm, tournamentId int, options *wotb.TournamentsStandingsOptions) ([]*wotb.TournamentsStandings, error)
TournamentsStandings returns tournament results of each team.
https://developers.wargaming.net/reference/all/wotb/tournaments/standings
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tournamentId:
Tournament ID that can be retrieved from the Tournaments list method.
func (*WotbService) TournamentsTables ¶
func (service *WotbService) TournamentsTables(ctx context.Context, realm Realm, stageId int, tournamentId int, options *wotb.TournamentsTablesOptions) ([]*wotb.TournamentsTables, error)
TournamentsTables returns tournament brackets.
https://developers.wargaming.net/reference/all/wotb/tournaments/tables
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
stageId:
Stage ID that can be retrieved from the Tournaments Stages method.
tournamentId:
Tournament ID that can be retrieved from the Tournaments list method.
func (*WotbService) TournamentsTeams ¶
func (service *WotbService) TournamentsTeams(ctx context.Context, realm Realm, tournamentId int, options *wotb.TournamentsTeamsOptions) ([]*wotb.TournamentsTeams, error)
TournamentsTeams returns list of teams in tournament.
https://developers.wargaming.net/reference/all/wotb/tournaments/teams
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
tournamentId:
Tournament ID that can be retrieved from the Tournaments list method.
type WotxService ¶
type WotxService service
WotxService World Of Tanks Console service.
func (*WotxService) AccountAchievements ¶
func (service *WotxService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, options *wotx.AccountAchievementsOptions) (*wotx.AccountAchievements, error)
AccountAchievements returns players' achievement details. Achievement properties define the achievements field values
1-4 for Mastery Badges and Stage Achievements (type: "class"); maximum value of Achievement series (type: "series"); number of achievements earned from sections: Battle Hero, Epic Achievements, Group Achievements, Special Achievements, etc. (type: "repeatable, single, custom").
https://developers.wargaming.net/reference/all/wotx/account/achievements
realm:
Valid realms: RealmWgcb
accountId:
Player account ID. Maximum limit: 100.
func (*WotxService) AccountInfo ¶
func (service *WotxService) AccountInfo(ctx context.Context, realm Realm, accountId []int, options *wotx.AccountInfoOptions) (*wotx.AccountInfo, error)
AccountInfo returns player details.
https://developers.wargaming.net/reference/all/wotx/account/info
realm:
Valid realms: RealmWgcb
accountId:
Player account ID. Maximum limit: 100.
func (*WotxService) AccountList ¶
func (service *WotxService) AccountList(ctx context.Context, realm Realm, search string, options *wotx.AccountListOptions) ([]*wotx.AccountList, error)
AccountList returns partial list of players. The list is filtered by initial characters of user name and sorted alphabetically.
https://developers.wargaming.net/reference/all/wotx/account/list
realm:
Valid realms: RealmWgcb
search:
Player name search string. Parameter "type" defines minimum length and type of search. Using the exact search type, you can enter several names, separated with commas. Maximum length: 24.
func (*WotxService) AccountPsninfo ¶
func (service *WotxService) AccountPsninfo(ctx context.Context, realm Realm, psnid []string) ([]*wotx.AccountPsninfo, error)
AccountPsninfo returns player data based on Play Station UID
https://developers.wargaming.net/reference/all/wotx/account/psninfo
realm:
Valid realms: RealmWgcb
psnid:
Play Station UID. Maximum limit: 100.
func (*WotxService) AccountXuidinfo ¶
func (service *WotxService) AccountXuidinfo(ctx context.Context, realm Realm, xuid []int) ([]*wotx.AccountXuidinfo, error)
AccountXuidinfo returns player details based on the player Microsoft XUID.
https://developers.wargaming.net/reference/all/wotx/account/xuidinfo
realm:
Valid realms: RealmWgcb
xuid:
Player Microsoft XUID. Maximum limit: 100.
func (*WotxService) AuthLogin ¶
func (service *WotxService) AuthLogin(ctx context.Context, realm Realm, options *wotx.AuthLoginOptions) (*wotx.AuthLogin, error)
AuthLogin authenticates user based on PlayStation Network ID which is used in World of Tanks PlayStation 4. To log in, player must enter PlayStation Network ID and password. Information on authorization status is sent to URL specified in redirect_uri parameter. If authentication is successful, the following parameters are sent to redirect_uri:
status: ok - successful authentication access_token - access token is passed in to all methods that require authentication expires_at - expiration date of access_token account_id - user ID nickname - user name psn_access_token - PlayStation Network access token psn_access_token_expires_at - expiration date of psn_access_token.
If authentication fails, the following parameters are sent to redirect_uri:
status: error - authentication error code - error code message - error message.
https://developers.wargaming.net/reference/all/wotx/auth/login
realm:
Valid realms: RealmWgcb
func (*WotxService) AuthLogout ¶
AuthLogout deletes user's access_token. After this method is called, access_token becomes invalid.
https://developers.wargaming.net/reference/all/wotx/auth/logout
realm:
Valid realms: RealmWgcb
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotxService) AuthProlongate ¶
func (service *WotxService) AuthProlongate(ctx context.Context, realm Realm, accessToken string, options *wotx.AuthProlongateOptions) (*wotx.AuthProlongate, error)
AuthProlongate generates new access_token based on the current token. This method is used when the player is still using the application but the current access_token is about to expire.
https://developers.wargaming.net/reference/all/wotx/auth/prolongate
realm:
Valid realms: RealmWgcb
accessToken:
Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
func (*WotxService) ClansAccountinfo ¶
func (service *WotxService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, options *wotx.ClansAccountinfoOptions) (*wotx.ClansAccountinfo, error)
ClansAccountinfo returns player clan data. Player clan data exist only for accounts, that were clan members at least once.
https://developers.wargaming.net/reference/all/wotx/clans/accountinfo
realm:
Valid realms: RealmWgcb
accountId:
Account ID. Maximum limit: 100. Min value is 1.
func (*WotxService) ClansGlossary ¶
func (service *WotxService) ClansGlossary(ctx context.Context, realm Realm, options *wotx.ClansGlossaryOptions) (*wotx.ClansGlossary, error)
ClansGlossary returns general information about clans.
https://developers.wargaming.net/reference/all/wotx/clans/glossary
realm:
Valid realms: RealmWgcb
func (*WotxService) ClansInfo ¶
func (service *WotxService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wotx.ClansInfoOptions) (*wotx.ClansInfo, error)
ClansInfo returns detailed clan information.
https://developers.wargaming.net/reference/all/wotx/clans/info
realm:
Valid realms: RealmWgcb
clanId:
Clan ID. Maximum limit: 100. Min value is 1.
func (*WotxService) ClansList ¶
func (service *WotxService) ClansList(ctx context.Context, realm Realm, options *wotx.ClansListOptions) ([]*wotx.ClansList, error)
ClansList returns partial list of clans in alphabetical order by clan name or tag.
https://developers.wargaming.net/reference/all/wotx/clans/list
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaAchievements ¶
func (service *WotxService) EncyclopediaAchievements(ctx context.Context, realm Realm, options *wotx.EncyclopediaAchievementsOptions) (*wotx.EncyclopediaAchievements, error)
EncyclopediaAchievements returns list of awards, medals, ribbons.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/achievements
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaArenas ¶
func (service *WotxService) EncyclopediaArenas(ctx context.Context, realm Realm, options *wotx.EncyclopediaArenasOptions) (*wotx.EncyclopediaArenas, error)
EncyclopediaArenas returns information about maps.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/arenas
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaCrewroles ¶
func (service *WotxService) EncyclopediaCrewroles(ctx context.Context, realm Realm, options *wotx.EncyclopediaCrewrolesOptions) (*wotx.EncyclopediaCrewroles, error)
EncyclopediaCrewroles returns information about crews.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/crewroles
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaInfo ¶
func (service *WotxService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wotx.EncyclopediaInfoOptions) (*wotx.EncyclopediaInfo, error)
EncyclopediaInfo returns information about Tankopedia.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/info
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaModules ¶
func (service *WotxService) EncyclopediaModules(ctx context.Context, realm Realm, options *wotx.EncyclopediaModulesOptions) (*wotx.EncyclopediaModules, error)
EncyclopediaModules returns list of available modules that can be installed on vehicles, such as engines, turrets, etc. At least one input filter parameter (module ID, type) is required to be indicated.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/modules
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaVehicleprofile ¶
func (service *WotxService) EncyclopediaVehicleprofile(ctx context.Context, realm Realm, tankId int, options *wotx.EncyclopediaVehicleprofileOptions) (*wotx.EncyclopediaVehicleprofile, error)
EncyclopediaVehicleprofile returns vehicle configuration characteristics based on the specified module IDs.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/vehicleprofile
realm:
Valid realms: RealmWgcb
tankId:
Vehicle ID
func (*WotxService) EncyclopediaVehicles ¶
func (service *WotxService) EncyclopediaVehicles(ctx context.Context, realm Realm, options *wotx.EncyclopediaVehiclesOptions) (*wotx.EncyclopediaVehicles, error)
EncyclopediaVehicles returns list of available vehicles.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/vehicles
realm:
Valid realms: RealmWgcb
func (*WotxService) EncyclopediaVehicleupgrades ¶
func (service *WotxService) EncyclopediaVehicleupgrades(ctx context.Context, realm Realm, tankId []int, options *wotx.EncyclopediaVehicleupgradesOptions) (*wotx.EncyclopediaVehicleupgrades, error)
EncyclopediaVehicleupgrades returns list of vehicle equipment and consumables.
https://developers.wargaming.net/reference/all/wotx/encyclopedia/vehicleupgrades
realm:
Valid realms: RealmWgcb
tankId:
Vehicle ID. Maximum limit: 100.
func (*WotxService) TanksAchievements ¶
func (service *WotxService) TanksAchievements(ctx context.Context, realm Realm, accountId int, options *wotx.TanksAchievementsOptions) (*wotx.TanksAchievements, error)
TanksAchievements returns players' achievement details. Achievement properties define the achievements field values
1-4 for Mastery Badges and Stage Achievements (type: "class"); maximum value of Achievement series (type: "series"); number of achievements earned from sections: Battle Hero, Epic Achievements, Group Achievements, Special Achievements, etc. (type: "repeatable, single, custom").
https://developers.wargaming.net/reference/all/wotx/tanks/achievements
realm:
Valid realms: RealmWgcb
accountId:
Player account ID. Min value is 0.
func (*WotxService) TanksStats ¶
func (service *WotxService) TanksStats(ctx context.Context, realm Realm, accountId int, options *wotx.TanksStatsOptions) (*wotx.TanksStats, error)
TanksStats returns overall statistics, Tank Company statistics, and clan statistics per each vehicle for each user.
https://developers.wargaming.net/reference/all/wotx/tanks/stats
realm:
Valid realms: RealmWgcb
accountId:
Player account ID. Min value is 0.
type WowpService ¶
type WowpService service
WowpService World Of Warplanes service.
func (*WowpService) AccountAchievements ¶
func (service *WowpService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, options *wowp.AccountAchievementsOptions) (*wowp.AccountAchievements, error)
AccountAchievements returns players' achievement details.
https://developers.wargaming.net/reference/all/wowp/account/achievements
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WowpService) AccountInfo2 ¶
func (service *WowpService) AccountInfo2(ctx context.Context, realm Realm, accountId []int, options *wowp.AccountInfo2Options) (*wowp.AccountInfo2, error)
AccountInfo2 returns player details.
https://developers.wargaming.net/reference/all/wowp/account/info2
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
func (*WowpService) AccountList ¶
func (service *WowpService) AccountList(ctx context.Context, realm Realm, search string, options *wowp.AccountListOptions) ([]*wowp.AccountList, error)
AccountList returns partial list of players. The list is filtered by initial characters of user name and sorted alphabetically.
https://developers.wargaming.net/reference/all/wowp/account/list
realm:
Valid realms: RealmEu, RealmNa
search:
Player name search string. Parameter "type" defines minimum length and type of search. Using the exact search type, you can enter several names, separated with commas. Maximum length: 24.
func (*WowpService) ClansAccountinfo ¶
func (service *WowpService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, options *wowp.ClansAccountinfoOptions) (*wowp.ClansAccountinfo, error)
ClansAccountinfo returns player clan data. Player clan data exist only for accounts, that were participating in clan activities: sent join requests, were clan members etc.
https://developers.wargaming.net/reference/all/wowp/clans/accountinfo
realm:
Valid realms: RealmEu, RealmNa
accountId:
Account ID. Maximum limit: 100. Min value is 1.
func (*WowpService) ClansGlossary ¶
func (service *WowpService) ClansGlossary(ctx context.Context, realm Realm, options *wowp.ClansGlossaryOptions) (*wowp.ClansGlossary, error)
ClansGlossary returns information on clan entities.
https://developers.wargaming.net/reference/all/wowp/clans/glossary
realm:
Valid realms: RealmEu, RealmNa
func (*WowpService) ClansInfo ¶
func (service *WowpService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wowp.ClansInfoOptions) (*wowp.ClansInfo, error)
ClansInfo returns detailed clan information.
https://developers.wargaming.net/reference/all/wowp/clans/info
realm:
Valid realms: RealmEu, RealmNa
clanId:
Clan ID. Maximum limit: 100. Min value is 1.
func (*WowpService) ClansList ¶
func (service *WowpService) ClansList(ctx context.Context, realm Realm, options *wowp.ClansListOptions) ([]*wowp.ClansList, error)
ClansList searches through clans and sorts them in a specified order.
https://developers.wargaming.net/reference/all/wowp/clans/list
realm:
Valid realms: RealmEu, RealmNa
func (*WowpService) EncyclopediaAchievements ¶
func (service *WowpService) EncyclopediaAchievements(ctx context.Context, realm Realm, options *wowp.EncyclopediaAchievementsOptions) (*wowp.EncyclopediaAchievements, error)
EncyclopediaAchievements returns dictionary of achievements from Encyclopedia.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/achievements
realm:
Valid realms: RealmEu, RealmNa
func (*WowpService) EncyclopediaInfo ¶
func (service *WowpService) EncyclopediaInfo(ctx context.Context, realm Realm) (*wowp.EncyclopediaInfo, error)
EncyclopediaInfo returns information about Encyclopedia.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/info
realm:
Valid realms: RealmEu, RealmNa
func (*WowpService) EncyclopediaPlaneinfo ¶
func (service *WowpService) EncyclopediaPlaneinfo(ctx context.Context, realm Realm, planeId []int, options *wowp.EncyclopediaPlaneinfoOptions) (*wowp.EncyclopediaPlaneinfo, error)
EncyclopediaPlaneinfo returns aircraft details from Encyclopedia.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/planeinfo
realm:
Valid realms: RealmEu, RealmNa
planeId:
Aircraft ID. Maximum limit: 1000.
func (*WowpService) EncyclopediaPlanemodules ¶
func (service *WowpService) EncyclopediaPlanemodules(ctx context.Context, realm Realm, planeId []int, options *wowp.EncyclopediaPlanemodulesOptions) (*wowp.EncyclopediaPlanemodules, error)
EncyclopediaPlanemodules returns information from Encyclopedia about modules available for specified aircrafts.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/planemodules
realm:
Valid realms: RealmEu, RealmNa
planeId:
Aircraft ID. Maximum limit: 1000.
func (*WowpService) EncyclopediaPlanes ¶
func (service *WowpService) EncyclopediaPlanes(ctx context.Context, realm Realm, options *wowp.EncyclopediaPlanesOptions) (*wowp.EncyclopediaPlanes, error)
EncyclopediaPlanes returns list of all aircrafts from Encyclopedia.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/planes
realm:
Valid realms: RealmEu, RealmNa
func (*WowpService) EncyclopediaPlanespecification ¶
func (service *WowpService) EncyclopediaPlanespecification(ctx context.Context, realm Realm, planeId int, options *wowp.EncyclopediaPlanespecificationOptions) (*wowp.EncyclopediaPlanespecification, error)
EncyclopediaPlanespecification returns information from Encyclopedia about aircraft specifications depending on installed modules.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/planespecification
realm:
Valid realms: RealmEu, RealmNa
planeId:
Aircraft ID
func (*WowpService) EncyclopediaPlaneupgrades ¶
func (service *WowpService) EncyclopediaPlaneupgrades(ctx context.Context, realm Realm, planeId []int, options *wowp.EncyclopediaPlaneupgradesOptions) (*wowp.EncyclopediaPlaneupgrades, error)
EncyclopediaPlaneupgrades returns information from Encyclopedia about slots of aircrafts and lists of modules which are compatible with specified slots.
https://developers.wargaming.net/reference/all/wowp/encyclopedia/planeupgrades
realm:
Valid realms: RealmEu, RealmNa
planeId:
Aircraft ID. Maximum limit: 100.
func (*WowpService) PlanesAchievements ¶
func (service *WowpService) PlanesAchievements(ctx context.Context, realm Realm, accountId int, options *wowp.PlanesAchievementsOptions) (*wowp.PlanesAchievements, error)
PlanesAchievements returns achievements on player's aircraft.
https://developers.wargaming.net/reference/all/wowp/planes/achievements
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player account ID
func (*WowpService) PlanesStats ¶
func (service *WowpService) PlanesStats(ctx context.Context, realm Realm, accountId int, options *wowp.PlanesStatsOptions) (*wowp.PlanesStats, error)
PlanesStats returns statistics on player's aircraft.
https://developers.wargaming.net/reference/all/wowp/planes/stats
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player account ID
func (*WowpService) RatingsAccounts ¶
func (service *WowpService) RatingsAccounts(ctx context.Context, realm Realm, accountId []int, typ string, options *wowp.RatingsAccountsOptions) (*wowp.RatingsAccounts, error)
RatingsAccounts returns player ratings by specified IDs.
https://developers.wargaming.net/reference/all/wowp/ratings/accounts
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100.
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WowpService) RatingsDates ¶
func (service *WowpService) RatingsDates(ctx context.Context, realm Realm, typ string, options *wowp.RatingsDatesOptions) (*wowp.RatingsDates, error)
RatingsDates returns dates with available rating data.
https://developers.wargaming.net/reference/all/wowp/ratings/dates
realm:
Valid realms: RealmEu, RealmNa
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WowpService) RatingsNeighbors ¶
func (service *WowpService) RatingsNeighbors(ctx context.Context, realm Realm, accountId int, rankField string, typ string, options *wowp.RatingsNeighborsOptions) ([]*wowp.RatingsNeighbors, error)
RatingsNeighbors returns list of adjacent positions in specified rating.
https://developers.wargaming.net/reference/all/wowp/ratings/neighbors
realm:
Valid realms: RealmEu, RealmNa
accountId:
Player account ID
rankField:
Rating category
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WowpService) RatingsTop ¶
func (service *WowpService) RatingsTop(ctx context.Context, realm Realm, rankField string, typ string, options *wowp.RatingsTopOptions) ([]*wowp.RatingsTop, error)
RatingsTop returns list of top players by specified parameter.
https://developers.wargaming.net/reference/all/wowp/ratings/top
realm:
Valid realms: RealmEu, RealmNa
rankField:
Rating category
typ:
Rating period. For valid values, check the Types of ratings method.
func (*WowpService) RatingsTypes ¶
func (service *WowpService) RatingsTypes(ctx context.Context, realm Realm, options *wowp.RatingsTypesOptions) (*wowp.RatingsTypes, error)
RatingsTypes returns dictionary of rating periods and ratings details.
https://developers.wargaming.net/reference/all/wowp/ratings/types
realm:
Valid realms: RealmEu, RealmNa
type WowsService ¶
type WowsService service
WowsService World Of Warships service.
func (*WowsService) AccountAchievements ¶
func (service *WowsService) AccountAchievements(ctx context.Context, realm Realm, accountId []int, options *wows.AccountAchievementsOptions) (*wows.AccountAchievements, error)
AccountAchievements returns information about players' achievements. Accounts with hidden game profiles are excluded from response. Hidden profiles are listed in the field meta.hidden.
https://developers.wargaming.net/reference/all/wows/account/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100. Min value is 1.
func (*WowsService) AccountInfo ¶
func (service *WowsService) AccountInfo(ctx context.Context, realm Realm, accountId []int, options *wows.AccountInfoOptions) (*wows.AccountInfo, error)
AccountInfo returns player details. Players may hide their game profiles, use field hidden_profile for determination.
https://developers.wargaming.net/reference/all/wows/account/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100. Min value is 1.
func (*WowsService) AccountList ¶
func (service *WowsService) AccountList(ctx context.Context, realm Realm, search string, options *wows.AccountListOptions) ([]*wows.AccountList, error)
AccountList returns partial list of players. The list is filtered by initial characters of user name and sorted alphabetically.
https://developers.wargaming.net/reference/all/wows/account/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
search:
Player name search string. Parameter "type" defines minimum length and type of search. Using the exact search type, you can enter several names, separated with commas. Maximum length: 24.
func (*WowsService) AccountStatsbydate ¶
func (service *WowsService) AccountStatsbydate(ctx context.Context, realm Realm, accountId int, options *wows.AccountStatsbydateOptions) (*wows.AccountStatsbydate, error)
AccountStatsbydate returns statistics slices by dates in specified time span.
https://developers.wargaming.net/reference/all/wows/account/statsbydate
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
func (*WowsService) ClansAccountinfo ¶
func (service *WowsService) ClansAccountinfo(ctx context.Context, realm Realm, accountId []int, options *wows.ClansAccountinfoOptions) (*wows.ClansAccountinfo, error)
ClansAccountinfo returns player clan data. Player clan data exist only for accounts, that were participating in clan activities: sent join requests, were clan members etc.
https://developers.wargaming.net/reference/all/wows/clans/accountinfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Account ID. Maximum limit: 100. Min value is 1.
func (*WowsService) ClansGlossary ¶
func (service *WowsService) ClansGlossary(ctx context.Context, realm Realm, options *wows.ClansGlossaryOptions) (*wows.ClansGlossary, error)
ClansGlossary returns information on clan entities.
https://developers.wargaming.net/reference/all/wows/clans/glossary
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) ClansInfo ¶
func (service *WowsService) ClansInfo(ctx context.Context, realm Realm, clanId []int, options *wows.ClansInfoOptions) (*wows.ClansInfo, error)
ClansInfo returns detailed clan information.
https://developers.wargaming.net/reference/all/wows/clans/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
clanId:
Clan ID. Maximum limit: 100. Min value is 1.
func (*WowsService) ClansList ¶
func (service *WowsService) ClansList(ctx context.Context, realm Realm, options *wows.ClansListOptions) ([]*wows.ClansList, error)
ClansList searches through clans and sorts them in a specified order.
https://developers.wargaming.net/reference/all/wows/clans/list
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) ClansSeason ¶
func (service *WowsService) ClansSeason(ctx context.Context, realm Realm, options *wows.ClansSeasonOptions) (*wows.ClansSeason, error)
ClansSeason returns information about Clan Battles season.
https://developers.wargaming.net/reference/all/wows/clans/season
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaAccountlevels ¶
func (service *WowsService) EncyclopediaAccountlevels(ctx context.Context, realm Realm, options *wows.EncyclopediaAccountlevelsOptions) (*wows.EncyclopediaAccountlevels, error)
EncyclopediaAccountlevels returns information about Service Record levels.
https://developers.wargaming.net/reference/all/wows/encyclopedia/accountlevels
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaAchievements ¶
func (service *WowsService) EncyclopediaAchievements(ctx context.Context, realm Realm, options *wows.EncyclopediaAchievementsOptions) (*wows.EncyclopediaAchievements, error)
EncyclopediaAchievements returns information about achievements.
https://developers.wargaming.net/reference/all/wows/encyclopedia/achievements
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaBattlearenas ¶
func (service *WowsService) EncyclopediaBattlearenas(ctx context.Context, realm Realm, options *wows.EncyclopediaBattlearenasOptions) (*wows.EncyclopediaBattlearenas, error)
EncyclopediaBattlearenas returns the information about maps.
https://developers.wargaming.net/reference/all/wows/encyclopedia/battlearenas
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaBattletypes ¶
func (service *WowsService) EncyclopediaBattletypes(ctx context.Context, realm Realm, options *wows.EncyclopediaBattletypesOptions) (*wows.EncyclopediaBattletypes, error)
EncyclopediaBattletypes returns information about battle types.
https://developers.wargaming.net/reference/all/wows/encyclopedia/battletypes
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaCollectioncards ¶
func (service *WowsService) EncyclopediaCollectioncards(ctx context.Context, realm Realm, options *wows.EncyclopediaCollectioncardsOptions) (*wows.EncyclopediaCollectioncards, error)
EncyclopediaCollectioncards returns information about items that are included in the collection.
https://developers.wargaming.net/reference/all/wows/encyclopedia/collectioncards
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaCollections ¶
func (service *WowsService) EncyclopediaCollections(ctx context.Context, realm Realm, options *wows.EncyclopediaCollectionsOptions) (*wows.EncyclopediaCollections, error)
EncyclopediaCollections returns information about collections.
https://developers.wargaming.net/reference/all/wows/encyclopedia/collections
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaConsumables ¶
func (service *WowsService) EncyclopediaConsumables(ctx context.Context, realm Realm, options *wows.EncyclopediaConsumablesOptions) (*wows.EncyclopediaConsumables, error)
EncyclopediaConsumables returns information about consumables: camouflages, flags, and upgrades.
https://developers.wargaming.net/reference/all/wows/encyclopedia/consumables
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaCrewranks ¶
func (service *WowsService) EncyclopediaCrewranks(ctx context.Context, realm Realm, options *wows.EncyclopediaCrewranksOptions) (*wows.EncyclopediaCrewranks, error)
EncyclopediaCrewranks returns information about Commanders' ranks.
https://developers.wargaming.net/reference/all/wows/encyclopedia/crewranks
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaCrews ¶
func (service *WowsService) EncyclopediaCrews(ctx context.Context, realm Realm, options *wows.EncyclopediaCrewsOptions) (*wows.EncyclopediaCrews, error)
EncyclopediaCrews returns information about Commanders.
https://developers.wargaming.net/reference/all/wows/encyclopedia/crews
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaCrewskills ¶
func (service *WowsService) EncyclopediaCrewskills(ctx context.Context, realm Realm, options *wows.EncyclopediaCrewskillsOptions) (*wows.EncyclopediaCrewskills, error)
EncyclopediaCrewskills returns information about Commanders' skills.
https://developers.wargaming.net/reference/all/wows/encyclopedia/crewskills
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaInfo ¶
func (service *WowsService) EncyclopediaInfo(ctx context.Context, realm Realm, options *wows.EncyclopediaInfoOptions) (*wows.EncyclopediaInfo, error)
EncyclopediaInfo returns information about encyclopedia.
https://developers.wargaming.net/reference/all/wows/encyclopedia/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaModules ¶
func (service *WowsService) EncyclopediaModules(ctx context.Context, realm Realm, options *wows.EncyclopediaModulesOptions) (*wows.EncyclopediaModules, error)
EncyclopediaModules returns list of available modules that can be mounted on a ship (hull, engines, etc.).
https://developers.wargaming.net/reference/all/wows/encyclopedia/modules
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) EncyclopediaShipprofile ¶
func (service *WowsService) EncyclopediaShipprofile(ctx context.Context, realm Realm, shipId int, options *wows.EncyclopediaShipprofileOptions) (*wows.EncyclopediaShipprofile, error)
EncyclopediaShipprofile returns parameters of ships in all existing configurations.
https://developers.wargaming.net/reference/all/wows/encyclopedia/shipprofile
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
shipId:
Ship ID
func (*WowsService) EncyclopediaShips ¶
func (service *WowsService) EncyclopediaShips(ctx context.Context, realm Realm, options *wows.EncyclopediaShipsOptions) (*wows.EncyclopediaShips, error)
EncyclopediaShips returns list of ships available.
https://developers.wargaming.net/reference/all/wows/encyclopedia/ships
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) SeasonsAccountinfo ¶
func (service *WowsService) SeasonsAccountinfo(ctx context.Context, realm Realm, accountId []int, options *wows.SeasonsAccountinfoOptions) (*wows.SeasonsAccountinfo, error)
SeasonsAccountinfo returns players' statistics in Ranked Battles seasons. Accounts with hidden game profiles are excluded from response. Hidden profiles are listed in the field meta.hidden.
https://developers.wargaming.net/reference/all/wows/seasons/accountinfo
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID. Maximum limit: 100. Min value is 1.
func (*WowsService) SeasonsInfo ¶
func (service *WowsService) SeasonsInfo(ctx context.Context, realm Realm, options *wows.SeasonsInfoOptions) (*wows.SeasonsInfo, error)
SeasonsInfo returns information about Ranked Battles seasons.
https://developers.wargaming.net/reference/all/wows/seasons/info
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
func (*WowsService) SeasonsShipstats ¶
func (service *WowsService) SeasonsShipstats(ctx context.Context, realm Realm, accountId int, options *wows.SeasonsShipstatsOptions) (*wows.SeasonsShipstats, error)
SeasonsShipstats returns players' ships statistics in Ranked Battles seasons. Accounts with hidden game profiles are excluded from response. Hidden profiles are listed in the field meta.hidden.
https://developers.wargaming.net/reference/all/wows/seasons/shipstats
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
func (*WowsService) ShipsStats ¶
func (service *WowsService) ShipsStats(ctx context.Context, realm Realm, accountId int, options *wows.ShipsStatsOptions) (*wows.ShipsStats, error)
ShipsStats returns general statistics for each ship of a player. Accounts with hidden game profiles are excluded from response. Hidden profiles are listed in the field meta.hidden.
https://developers.wargaming.net/reference/all/wows/ships/stats
realm:
Valid realms: RealmAsia, RealmEu, RealmNa
accountId:
Player account ID
Source Files ¶
- client.go
- errors.go
- helper.go
- realm.go
- realms.go
- section.go
- sections.go
- service.go
- services.go
- wgn_account_info.go
- wgn_account_list.go
- wgn_clans_glossary.go
- wgn_clans_info.go
- wgn_clans_list.go
- wgn_clans_memberhistory.go
- wgn_clans_membersinfo.go
- wgn_clans_messageboard.go
- wgn_servers_info.go
- wgn_wgtv_tags.go
- wgn_wgtv_vehicles.go
- wgn_wgtv_videos.go
- wot_account_achievements.go
- wot_account_info.go
- wot_account_list.go
- wot_account_tanks.go
- wot_auth_login.go
- wot_auth_logout.go
- wot_auth_prolongate.go
- wot_clanratings_clans.go
- wot_clanratings_dates.go
- wot_clanratings_neighbors.go
- wot_clanratings_top.go
- wot_clanratings_types.go
- wot_clans_accountinfo.go
- wot_clans_glossary.go
- wot_clans_info.go
- wot_clans_list.go
- wot_clans_memberhistory.go
- wot_clans_messageboard.go
- wot_encyclopedia_achievements.go
- wot_encyclopedia_arenas.go
- wot_encyclopedia_badges.go
- wot_encyclopedia_boosters.go
- wot_encyclopedia_crewroles.go
- wot_encyclopedia_crewskills.go
- wot_encyclopedia_info.go
- wot_encyclopedia_modules.go
- wot_encyclopedia_personalmissions.go
- wot_encyclopedia_provisions.go
- wot_encyclopedia_tankchassis.go
- wot_encyclopedia_tankengines.go
- wot_encyclopedia_tankguns.go
- wot_encyclopedia_tankinfo.go
- wot_encyclopedia_tankradios.go
- wot_encyclopedia_tanks.go
- wot_encyclopedia_tankturrets.go
- wot_encyclopedia_vehicleprofile.go
- wot_encyclopedia_vehicleprofiles.go
- wot_encyclopedia_vehicles.go
- wot_globalmap_clanbattles.go
- wot_globalmap_claninfo.go
- wot_globalmap_clanprovinces.go
- wot_globalmap_eventaccountinfo.go
- wot_globalmap_eventaccountratingneighbors.go
- wot_globalmap_eventaccountratings.go
- wot_globalmap_eventclaninfo.go
- wot_globalmap_eventrating.go
- wot_globalmap_eventratingneighbors.go
- wot_globalmap_events.go
- wot_globalmap_fronts.go
- wot_globalmap_info.go
- wot_globalmap_provinces.go
- wot_globalmap_seasonaccountinfo.go
- wot_globalmap_seasonclaninfo.go
- wot_globalmap_seasonrating.go
- wot_globalmap_seasonratingneighbors.go
- wot_globalmap_seasons.go
- wot_ratings_accounts.go
- wot_ratings_dates.go
- wot_ratings_neighbors.go
- wot_ratings_top.go
- wot_ratings_types.go
- wot_stronghold_activateclanreserve.go
- wot_stronghold_claninfo.go
- wot_stronghold_clanreserves.go
- wot_tanks_achievements.go
- wot_tanks_mastery.go
- wot_tanks_stats.go
- wotb_account_achievements.go
- wotb_account_info.go
- wotb_account_list.go
- wotb_account_tankstats.go
- wotb_clanmessages_create.go
- wotb_clanmessages_delete.go
- wotb_clanmessages_like.go
- wotb_clanmessages_likes.go
- wotb_clanmessages_messages.go
- wotb_clanmessages_update.go
- wotb_clans_accountinfo.go
- wotb_clans_glossary.go
- wotb_clans_info.go
- wotb_clans_list.go
- wotb_encyclopedia_achievements.go
- wotb_encyclopedia_crewskills.go
- wotb_encyclopedia_info.go
- wotb_encyclopedia_modules.go
- wotb_encyclopedia_provisions.go
- wotb_encyclopedia_vehicleprofile.go
- wotb_encyclopedia_vehicleprofiles.go
- wotb_encyclopedia_vehicles.go
- wotb_tanks_achievements.go
- wotb_tanks_stats.go
- wotb_tournaments_info.go
- wotb_tournaments_list.go
- wotb_tournaments_matches.go
- wotb_tournaments_stages.go
- wotb_tournaments_standings.go
- wotb_tournaments_tables.go
- wotb_tournaments_teams.go
- wotx_account_achievements.go
- wotx_account_info.go
- wotx_account_list.go
- wotx_account_psninfo.go
- wotx_account_xuidinfo.go
- wotx_auth_login.go
- wotx_auth_logout.go
- wotx_auth_prolongate.go
- wotx_clans_accountinfo.go
- wotx_clans_glossary.go
- wotx_clans_info.go
- wotx_clans_list.go
- wotx_encyclopedia_achievements.go
- wotx_encyclopedia_arenas.go
- wotx_encyclopedia_crewroles.go
- wotx_encyclopedia_info.go
- wotx_encyclopedia_modules.go
- wotx_encyclopedia_vehicleprofile.go
- wotx_encyclopedia_vehicles.go
- wotx_encyclopedia_vehicleupgrades.go
- wotx_tanks_achievements.go
- wotx_tanks_stats.go
- wowp_account_achievements.go
- wowp_account_info2.go
- wowp_account_list.go
- wowp_clans_accountinfo.go
- wowp_clans_glossary.go
- wowp_clans_info.go
- wowp_clans_list.go
- wowp_encyclopedia_achievements.go
- wowp_encyclopedia_info.go
- wowp_encyclopedia_planeinfo.go
- wowp_encyclopedia_planemodules.go
- wowp_encyclopedia_planes.go
- wowp_encyclopedia_planespecification.go
- wowp_encyclopedia_planeupgrades.go
- wowp_planes_achievements.go
- wowp_planes_stats.go
- wowp_ratings_accounts.go
- wowp_ratings_dates.go
- wowp_ratings_neighbors.go
- wowp_ratings_top.go
- wowp_ratings_types.go
- wows_account_achievements.go
- wows_account_info.go
- wows_account_list.go
- wows_account_statsbydate.go
- wows_clans_accountinfo.go
- wows_clans_glossary.go
- wows_clans_info.go
- wows_clans_list.go
- wows_clans_season.go
- wows_encyclopedia_accountlevels.go
- wows_encyclopedia_achievements.go
- wows_encyclopedia_battlearenas.go
- wows_encyclopedia_battletypes.go
- wows_encyclopedia_collectioncards.go
- wows_encyclopedia_collections.go
- wows_encyclopedia_consumables.go
- wows_encyclopedia_crewranks.go
- wows_encyclopedia_crews.go
- wows_encyclopedia_crewskills.go
- wows_encyclopedia_info.go
- wows_encyclopedia_modules.go
- wows_encyclopedia_shipprofile.go
- wows_encyclopedia_ships.go
- wows_seasons_accountinfo.go
- wows_seasons_info.go
- wows_seasons_shipstats.go
- wows_ships_stats.go