Documentation
¶
Index ¶
- type AllianceOverviewExtractorBytes
- type BuffActivationExtractorBytes
- type DefensesExtractorBytes
- type DefensesExtractorBytesDoc
- type DefensesExtractorDoc
- type DestroyRocketsExtractorBytes
- type EmpireExtractorBytes
- type EspionageReportExtractorBytes
- type EspionageReportExtractorBytesDoc
- type EspionageReportExtractorDoc
- type EventListExtractorBytes
- type EventListExtractorBytesDoc
- type EventListExtractorDoc
- type Extractor
- type FacilitiesExtractorBytes
- type FacilitiesExtractorBytesDoc
- type FacilitiesExtractorDoc
- type FederationExtractorBytes
- type FetchResourcesExtractorBytes
- type FetchTechsExtractorBytes
- type FleetDispatchExtractorBytes
- type FleetDispatchExtractorBytesDoc
- type FleetDispatchExtractorDoc
- type FleetsExtractorBytes
- type FleetsExtractorDoc
- type FullPageExtractorBytes
- type FullPageExtractorBytesDoc
- type FullPageExtractorDoc
- type GalaxyExtractorBytes
- type GalaxyPageExtractorBytes
- type HighscoreExtractorBytes
- type HighscoreExtractorBytesDoc
- type HighscoreExtractorDoc
- type JumpGateLayerExtractorBytes
- type LfBonusesExtractorBytes
- type LfBonusesExtractorBytesDoc
- type LfBonusesExtractorDoc
- type LfBuildingsExtractorBytes
- type LfBuildingsExtractorBytesDoc
- type LfBuildingsExtractorDoc
- type LfResearchExtractorBytes
- type LfResearchExtractorBytesDoc
- type LfResearchExtractorDoc
- type MessagesCombatReportExtractorBytes
- type MessagesCombatReportExtractorBytesDoc
- type MessagesCombatReportExtractorDoc
- type MessagesEspionageReportExtractorBytes
- type MessagesEspionageReportExtractorBytesDoc
- type MessagesEspionageReportExtractorDoc
- type MessagesExpeditionExtractorBytes
- type MessagesExpeditionExtractorBytesDoc
- type MessagesExpeditionExtractorDoc
- type MessagesMarketplaceExtractorBytes
- type MissileAttackLayerExtractorBytes
- type MissileAttackLayerExtractorBytesDoc
- type MissileAttackLayerExtractorDoc
- type MovementExtractorBytes
- type MovementExtractorBytesDoc
- type MovementExtractorDoc
- type OverviewExtractorBytes
- type OverviewExtractorBytesDoc
- type OverviewExtractorDoc
- type PhalanxExtractorBytes
- type PlanetLayerExtractorDoc
- type PreferencesExtractorBytes
- type PreferencesExtractorBytesDoc
- type PreferencesExtractorDoc
- type PremiumExtractorBytes
- type ResearchExtractorBytes
- type ResearchExtractorBytesDoc
- type ResearchExtractorDoc
- type ResourcesBuildingsExtractorBytes
- type ResourcesBuildingsExtractorBytesDoc
- type ResourcesBuildingsExtractorDoc
- type ResourcesSettingsExtractorBytes
- type ResourcesSettingsExtractorBytesDoc
- type ResourcesSettingsExtractorDoc
- type ShipyardExtractorBytes
- type ShipyardExtractorBytesDoc
- type ShipyardExtractorDoc
- type TechnologyDetailsExtractorBytes
- type TechnologyDetailsExtractorBytesDoc
- type TechnologyDetailsExtractorDoc
- type TraderAuctioneerExtractorBytes
- type TraderImportExportExtractorBytes
- type TraderImportExportExtractorDoc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllianceOverviewExtractorBytes ¶
type AllianceOverviewExtractorBytes interface {
ExtractAllianceClass(pageHTML []byte) (ogame.AllianceClass, error)
}
type BuffActivationExtractorBytes ¶
type BuffActivationExtractorBytes interface {
ExtractBuffActivation(pageHTML []byte) (string, []ogame.Item, error)
}
BuffActivationExtractorBytes BuffActivation is the popups that shows up when clicking the icon to activate an item on the overview page.
type DefensesExtractorBytes ¶
type DefensesExtractorBytesDoc ¶
type DefensesExtractorBytesDoc interface {
DefensesExtractorBytes
DefensesExtractorDoc
}
type DefensesExtractorDoc ¶
type DefensesExtractorDoc interface {
ExtractDefenseFromDoc(*goquery.Document) (ogame.DefensesInfos, error)
}
type DestroyRocketsExtractorBytes ¶
type DestroyRocketsExtractorBytes interface {
ExtractDestroyRockets(pageHTML []byte) (abm, ipm int64, token string, err error)
}
DestroyRocketsExtractorBytes popups that shows up when clicking to destroy rockets on the defenses page.
type EmpireExtractorBytes ¶
type EspionageReportExtractorBytes ¶
type EspionageReportExtractorBytes interface {
ExtractEspionageReport(pageHTML []byte) (ogame.EspionageReport, error)
}
EspionageReportExtractorBytes popup that shows the full espionage report
type EspionageReportExtractorBytesDoc ¶
type EspionageReportExtractorBytesDoc interface {
EspionageReportExtractorBytes
EspionageReportExtractorDoc
}
type EspionageReportExtractorDoc ¶
type EspionageReportExtractorDoc interface {
ExtractEspionageReportFromDoc(*goquery.Document) (ogame.EspionageReport, error)
}
type EventListExtractorBytes ¶
type EventListExtractorBytes interface {
ExtractAttacks(pageHTML []byte, ownCoords []ogame.Coordinate) ([]ogame.AttackEvent, error)
ExtractFleetsFromEventList(pageHTML []byte) ([]ogame.Fleet, error)
}
type EventListExtractorBytesDoc ¶
type EventListExtractorBytesDoc interface {
EventListExtractorBytes
EventListExtractorDoc
}
type EventListExtractorDoc ¶
type Extractor ¶
type Extractor interface {
GetLanguage() string
SetLanguage(lang string)
GetLocation() *time.Location
SetLocation(*time.Location)
GetLifeformEnabled() bool
SetLifeformEnabled(lifeformEnabled bool)
DefensesExtractorBytesDoc
EspionageReportExtractorBytesDoc
EventListExtractorBytesDoc
FacilitiesExtractorBytesDoc
FleetDispatchExtractorBytesDoc
FullPageExtractorBytesDoc
HighscoreExtractorBytesDoc
LfBuildingsExtractorBytesDoc
LfResearchExtractorBytesDoc
LfBonusesExtractorBytesDoc
MessagesCombatReportExtractorBytesDoc
MessagesEspionageReportExtractorBytesDoc
MessagesExpeditionExtractorBytesDoc
MissileAttackLayerExtractorBytesDoc
MovementExtractorBytesDoc
OverviewExtractorBytesDoc
PreferencesExtractorBytesDoc
ResearchExtractorBytesDoc
ResourcesBuildingsExtractorBytesDoc
ResourcesSettingsExtractorBytesDoc
ShipyardExtractorBytesDoc
TechnologyDetailsExtractorBytesDoc
BuffActivationExtractorBytes
DestroyRocketsExtractorBytes
EmpireExtractorBytes
FederationExtractorBytes
FetchResourcesExtractorBytes
FetchTechsExtractorBytes
GalaxyExtractorBytes
GalaxyPageExtractorBytes
JumpGateLayerExtractorBytes
MessagesMarketplaceExtractorBytes
PhalanxExtractorBytes
PremiumExtractorBytes
TraderAuctioneerExtractorBytes
TraderImportExportExtractorBytes
AllianceOverviewExtractorBytes
PlanetLayerExtractorDoc
TraderImportExportExtractorDoc
ExtractCoord(v string) ogame.Coordinate
ExtractHiddenFields(pageHTML []byte) (url.Values, error)
ExtractHiddenFieldsFromDoc(*goquery.Document) url.Values
ExtractChapter(pageHTML []byte) (ogame.Chapter, error)
ExtractChapterFromDoc(*goquery.Document) (ogame.Chapter, error)
}
Extractor ...
type FacilitiesExtractorBytesDoc ¶
type FacilitiesExtractorBytesDoc interface {
FacilitiesExtractorBytes
FacilitiesExtractorDoc
}
type FacilitiesExtractorDoc ¶
type FacilitiesExtractorDoc interface {
ExtractFacilitiesFromDoc(*goquery.Document) (ogame.Facilities, error)
}
type FederationExtractorBytes ¶
FederationExtractorBytes popup when we click to create a union for our attacking fleet
type FetchResourcesExtractorBytes ¶
type FetchResourcesExtractorBytes interface {
ExtractResourcesDetails(pageHTML []byte) (out ogame.ResourcesDetails, err error)
}
FetchResourcesExtractorBytes "fetchResources" ajax page
type FetchTechsExtractorBytes ¶
FetchTechsExtractorBytes ajax page fetchTechs
type FleetDispatchExtractorBytes ¶
type FleetDispatchExtractorBytes interface {
FleetsExtractorBytes
ExtractFleet1Ships(pageHTML []byte) (ogame.ShipsInfos, error)
}
type FleetDispatchExtractorBytesDoc ¶
type FleetDispatchExtractorBytesDoc interface {
FleetDispatchExtractorBytes
FleetDispatchExtractorDoc
}
type FleetDispatchExtractorDoc ¶
type FleetDispatchExtractorDoc interface {
FleetsExtractorBytes
ExtractFleet1ShipsFromDoc(*goquery.Document) (ogame.ShipsInfos, error)
ExtractFleetDispatchACSFromDoc(*goquery.Document) []ogame.ACSValues
}
type FleetsExtractorBytes ¶
type FleetsExtractorDoc ¶
type FullPageExtractorBytes ¶
type FullPageExtractorBytes interface {
ExtractAdmiral(pageHTML []byte) (bool, error)
ExtractAjaxChatToken(pageHTML []byte) (string, error)
ExtractToken(pageHTML []byte) (string, error)
ExtractCelestial(pageHTML []byte, v any) (ogame.Celestial, error)
ExtractCelestials(pageHTML []byte) ([]ogame.Celestial, error)
ExtractCharacterClass(pageHTML []byte) (ogame.CharacterClass, error)
ExtractCommander(pageHTML []byte) (bool, error)
ExtractEngineer(pageHTML []byte) (bool, error)
ExtractGeologist(pageHTML []byte) (bool, error)
ExtractIsInVacation(pageHTML []byte) (bool, error)
ExtractAttackBlock(pageHTML []byte) (bool, time.Time, error)
ExtractIsMobile(pageHTML []byte) (bool, error)
ExtractLifeformEnabled(pageHTML []byte) bool
ExtractMoon(pageHTML []byte, v any) (ogame.Moon, error)
ExtractMoons(pageHTML []byte) ([]ogame.Moon, error)
ExtractOGameTimestampFromBytes(pageHTML []byte) (int64, error)
ExtractOgameTimestamp(pageHTML []byte) (int64, error)
ExtractPlanet(pageHTML []byte, v any) (ogame.Planet, error)
ExtractPlanetCoordinate(pageHTML []byte) (ogame.Coordinate, error)
ExtractPlanetID(pageHTML []byte) (ogame.CelestialID, error)
ExtractPlanetType(pageHTML []byte) (ogame.CelestialType, error)
ExtractPlanets(pageHTML []byte) ([]ogame.Planet, error)
ExtractResources(pageHTML []byte) (ogame.Resources, error)
ExtractResourcesDetailsFromFullPage(pageHTML []byte) (ogame.ResourcesDetails, error)
ExtractServerTime(pageHTML []byte) (time.Time, error)
ExtractTechnocrat(pageHTML []byte) (bool, error)
}
type FullPageExtractorBytesDoc ¶
type FullPageExtractorBytesDoc interface {
FullPageExtractorBytes
FullPageExtractorDoc
}
type FullPageExtractorDoc ¶
type FullPageExtractorDoc interface {
ExtractLifeformTypeFromDoc(*goquery.Document) ogame.LifeformType
ExtractAdmiralFromDoc(*goquery.Document) bool
ExtractBodyIDFromDoc(*goquery.Document) string
ExtractCelestialFromDoc(*goquery.Document, any) (ogame.Celestial, error)
ExtractCelestialsFromDoc(*goquery.Document) ([]ogame.Celestial, error)
ExtractCharacterClassFromDoc(*goquery.Document) (ogame.CharacterClass, error)
ExtractCommanderFromDoc(*goquery.Document) bool
ExtractEngineerFromDoc(*goquery.Document) bool
ExtractGeologistFromDoc(*goquery.Document) bool
ExtractAttackBlockFromDoc(doc *goquery.Document) (bool, time.Time)
ExtractIsInVacationFromDoc(*goquery.Document) bool
ExtractIsMobileFromDoc(*goquery.Document) bool
ExtractMoonFromDoc(*goquery.Document, any) (ogame.Moon, error)
ExtractMoonsFromDoc(*goquery.Document) []ogame.Moon
ExtractOGameSessionFromDoc(*goquery.Document) string
ExtractOgameTimestampFromDoc(*goquery.Document) int64
ExtractPlanetFromDoc(*goquery.Document, any) (ogame.Planet, error)
ExtractPlanetIDFromDoc(*goquery.Document) (ogame.CelestialID, error)
ExtractPlanetTypeFromDoc(*goquery.Document) (ogame.CelestialType, error)
ExtractPlanetsFromDoc(*goquery.Document) []ogame.Planet
ExtractResourcesDetailsFromFullPageFromDoc(*goquery.Document) ogame.ResourcesDetails
ExtractResourcesFromDoc(*goquery.Document) ogame.Resources
ExtractServerTimeFromDoc(*goquery.Document) (time.Time, error)
ExtractTechnocratFromDoc(*goquery.Document) bool
ExtractColoniesFromDoc(*goquery.Document) (int64, int64)
}
type GalaxyExtractorBytes ¶
type GalaxyExtractorBytes interface {
ExtractGalaxyInfos(pageHTML []byte, botPlayerName string, botPlayerID, botPlayerRank int64) (ogame.SystemInfos, error)
}
GalaxyExtractorBytes ajax page containing galaxy information in galaxy page
type GalaxyPageExtractorBytes ¶
type GalaxyPageExtractorBytes interface {
ExtractAvailableDiscoveries(pageHTML []byte) (int64, error)
}
GalaxyPageExtractorBytes galaxy page
type HighscoreExtractorBytes ¶
type HighscoreExtractorBytesDoc ¶
type HighscoreExtractorBytesDoc interface {
HighscoreExtractorBytes
HighscoreExtractorDoc
}
type HighscoreExtractorDoc ¶
type LfBonusesExtractorBytes ¶
type LfBonusesExtractorBytesDoc ¶
type LfBonusesExtractorBytesDoc interface {
LfBonusesExtractorBytes
LfBonusesExtractorDoc
}
type LfBonusesExtractorDoc ¶
type LfBuildingsExtractorBytesDoc ¶
type LfBuildingsExtractorBytesDoc interface {
LfBuildingsExtractorBytes
LfBuildingsExtractorDoc
}
type LfBuildingsExtractorDoc ¶
type LfBuildingsExtractorDoc interface {
ExtractLfBuildingsFromDoc(*goquery.Document) (ogame.LfBuildings, error)
}
type LfResearchExtractorBytesDoc ¶
type LfResearchExtractorBytesDoc interface {
LfResearchExtractorBytes
LfResearchExtractorDoc
}
type LfResearchExtractorDoc ¶
type MessagesCombatReportExtractorBytes ¶
type MessagesCombatReportExtractorBytes interface {
ExtractCombatReportMessagesSummary(pageHTML []byte) ([]ogame.CombatReportSummary, int64, error)
}
type MessagesCombatReportExtractorBytesDoc ¶
type MessagesCombatReportExtractorBytesDoc interface {
MessagesCombatReportExtractorBytes
MessagesCombatReportExtractorDoc
}
type MessagesEspionageReportExtractorBytes ¶
type MessagesEspionageReportExtractorBytes interface {
ExtractEspionageReportMessageIDs(pageHTML []byte) ([]ogame.EspionageReportSummary, int64, error)
}
MessagesEspionageReportExtractorBytes ajax page that display all espionage reports summaries
type MessagesEspionageReportExtractorBytesDoc ¶
type MessagesEspionageReportExtractorBytesDoc interface {
MessagesEspionageReportExtractorBytes
MessagesEspionageReportExtractorDoc
}
type MessagesExpeditionExtractorBytes ¶
type MessagesExpeditionExtractorBytes interface {
ExtractExpeditionMessages(pageHTML []byte) ([]ogame.ExpeditionMessage, int64, error)
}
MessagesExpeditionExtractorBytes ajax page that display all expedition messages
type MessagesExpeditionExtractorBytesDoc ¶
type MessagesExpeditionExtractorBytesDoc interface {
MessagesExpeditionExtractorBytes
MessagesExpeditionExtractorDoc
}
type MessagesMarketplaceExtractorBytes ¶
type MessagesMarketplaceExtractorBytes interface {
ExtractMarketplaceMessages(pageHTML []byte) ([]ogame.MarketplaceMessage, int64, error)
}
MessagesMarketplaceExtractorBytes marketplace was removed from the game
type MissileAttackLayerExtractorBytesDoc ¶
type MissileAttackLayerExtractorBytesDoc interface {
MissileAttackLayerExtractorBytes
MissileAttackLayerExtractorDoc
}
type MovementExtractorBytes ¶
type MovementExtractorBytes interface {
FleetsExtractorBytes
ExtractFleets(pageHTML []byte) ([]ogame.Fleet, error)
}
type MovementExtractorBytesDoc ¶
type MovementExtractorBytesDoc interface {
MovementExtractorBytes
MovementExtractorDoc
}
type MovementExtractorDoc ¶
type OverviewExtractorBytes ¶
type OverviewExtractorBytes interface {
ExtractActiveItems(pageHTML []byte) ([]ogame.ActiveItem, error)
ExtractCancelBuildingInfos(pageHTML []byte) (token string, techID, listID int64, err error)
ExtractCancelFleetToken(pageHTML []byte, fleetID ogame.FleetID) (string, error)
ExtractCancelLfBuildingInfos(pageHTML []byte) (token string, id, listID int64, err error)
ExtractCancelResearchInfos(pageHTML []byte) (token string, techID, listID int64, err error)
ExtractCharacterClass(pageHTML []byte) (ogame.CharacterClass, error)
ExtractConstructions(pageHTML []byte) (ogame.Constructions, error)
ExtractDMCosts(pageHTML []byte) (ogame.DMCosts, error)
ExtractFleetDeutSaveFactor(pageHTML []byte) float64
ExtractOverviewProduction(pageHTML []byte) ([]ogame.Quantifiable, int64, error)
ExtractOverviewShipSumCountdownFromBytes(pageHTML []byte) int64
ExtractUserInfos(pageHTML []byte) (ogame.UserInfos, error)
}
type OverviewExtractorBytesDoc ¶
type OverviewExtractorBytesDoc interface {
OverviewExtractorBytes
OverviewExtractorDoc
}
type OverviewExtractorDoc ¶
type OverviewExtractorDoc interface {
ExtractOverviewProductionFromDoc(*goquery.Document) ([]ogame.Quantifiable, error)
ExtractCharacterClassFromDoc(*goquery.Document) (ogame.CharacterClass, error)
}
type PhalanxExtractorBytes ¶
type PlanetLayerExtractorDoc ¶
type PreferencesExtractorBytesDoc ¶
type PreferencesExtractorBytesDoc interface {
PreferencesExtractorBytes
PreferencesExtractorDoc
}
type PreferencesExtractorDoc ¶
type PreferencesExtractorDoc interface {
ExtractActivateAutofocusFromDoc(*goquery.Document) bool
ExtractAnimatedOverviewFromDoc(*goquery.Document) bool
ExtractAnimatedSlidersFromDoc(*goquery.Document) bool
ExtractAuctioneerNotificationsFromDoc(*goquery.Document) bool
ExtractDisableChatBarFromDoc(*goquery.Document) bool
ExtractDisableOutlawWarningFromDoc(*goquery.Document) bool
ExtractEconomyNotificationsFromDoc(*goquery.Document) bool
ExtractEventsShowFromDoc(*goquery.Document) int64
ExtractMobileVersionFromDoc(*goquery.Document) bool
ExtractMsgResultsPerPageFromDoc(*goquery.Document) int64
ExtractNotifAccountFromDoc(*goquery.Document) bool
ExtractNotifAllianceBroadcastsFromDoc(*goquery.Document) bool
ExtractNotifAllianceMessagesFromDoc(*goquery.Document) bool
ExtractNotifAuctionsFromDoc(*goquery.Document) bool
ExtractNotifBuildListFromDoc(*goquery.Document) bool
ExtractNotifForeignEspionageFromDoc(*goquery.Document) bool
ExtractNotifFriendlyFleetActivitiesFromDoc(*goquery.Document) bool
ExtractNotifHostileFleetActivitiesFromDoc(*goquery.Document) bool
ExtractPopupsNoticesFromDoc(*goquery.Document) bool
ExtractPreferencesFromDoc(*goquery.Document) ogame.Preferences
ExtractPreserveSystemOnPlanetChangeFromDoc(*goquery.Document) bool
ExtractShowActivityMinutesFromDoc(*goquery.Document) bool
ExtractShowDetailOverlayFromDoc(*goquery.Document) bool
ExtractShowOldDropDownsFromDoc(*goquery.Document) bool
ExtractSortOrderFromDoc(*goquery.Document) int64
ExtractSortSettingFromDoc(*goquery.Document) int64
ExtractSpioAnzFromDoc(*goquery.Document) int64
ExtractSpioReportPicturesFromDoc(*goquery.Document) bool
}
type PremiumExtractorBytes ¶
type PremiumExtractorBytes interface {
ExtractPremiumToken(pageHTML []byte, days int64) (token string, err error)
}
PremiumExtractorBytes ajax page when click to buy an officer
type ResearchExtractorBytes ¶
type ResearchExtractorBytesDoc ¶
type ResearchExtractorBytesDoc interface {
ResearchExtractorBytes
ResearchExtractorDoc
}
type ResearchExtractorDoc ¶
type ResearchExtractorDoc interface {
ExtractResearchFromDoc(*goquery.Document) ogame.Researches
}
type ResourcesBuildingsExtractorBytes ¶
type ResourcesBuildingsExtractorBytes interface {
ExtractResourcesBuildings(pageHTML []byte) (ogame.ResourcesBuildings, error)
ExtractTearDownToken(pageHTML []byte) (string, error)
ExtractUpgradeToken(pageHTML []byte) (string, error)
}
ResourcesBuildingsExtractorBytes supplies page
type ResourcesBuildingsExtractorBytesDoc ¶
type ResourcesBuildingsExtractorBytesDoc interface {
ResourcesBuildingsExtractorBytes
ResourcesBuildingsExtractorDoc
}
type ResourcesBuildingsExtractorDoc ¶
type ResourcesBuildingsExtractorDoc interface {
ExtractResourcesBuildingsFromDoc(*goquery.Document) (ogame.ResourcesBuildings, error)
}
type ResourcesSettingsExtractorBytesDoc ¶
type ResourcesSettingsExtractorBytesDoc interface {
ResourcesSettingsExtractorBytes
ResourcesSettingsExtractorDoc
}
type ShipyardExtractorBytes ¶
type ShipyardExtractorBytes interface {
ExtractFleetDeutSaveFactor(pageHTML []byte) float64
ExtractOverviewShipSumCountdownFromBytes(pageHTML []byte) int64
ExtractProduction(pageHTML []byte) ([]ogame.Quantifiable, int64, error)
ExtractShips(pageHTML []byte) (ogame.ShipsInfos, error)
ExtractUpgradeToken(pageHTML []byte) (string, error)
}
type ShipyardExtractorBytesDoc ¶
type ShipyardExtractorBytesDoc interface {
ShipyardExtractorBytes
ShipyardExtractorDoc
}
type ShipyardExtractorDoc ¶
type ShipyardExtractorDoc interface {
ExtractProductionFromDoc(*goquery.Document) ([]ogame.Quantifiable, error)
ExtractShipsFromDoc(*goquery.Document) (ogame.ShipsInfos, error)
}
type TechnologyDetailsExtractorBytesDoc ¶
type TechnologyDetailsExtractorBytesDoc interface {
TechnologyDetailsExtractorBytes
TechnologyDetailsExtractorDoc
}
type TraderImportExportExtractorBytes ¶
type TraderImportExportExtractorBytes interface {
ExtractOfferOfTheDay(pageHTML []byte) (int64, string, ogame.PlanetResources, ogame.Multiplier, error)
}
TraderImportExportExtractorBytes ajax page Merchant -> Import/Export
type TraderImportExportExtractorDoc ¶
type TraderImportExportExtractorDoc interface {
ExtractOfferOfTheDayFromDoc(*goquery.Document) (price int64, importToken string, planetResources ogame.PlanetResources, multiplier ogame.Multiplier, err error)
}