wowAPI

package
v0.0.0-...-22526c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auctions

func Auctions(realm string) ([]interface{}, bool)

Auctions returns the current auctions from the auction house

func CollectionsPets

func CollectionsPets() ([]interface{}, bool)

CollectionsPets returns the battle pets the user owns

func CollectionsToys

func CollectionsToys() ([]interface{}, bool)

CollectionsToys returns the toys the user owns

func CollectionsTransmogs

func CollectionsTransmogs() (interface{}, bool)

CollectionsTransmogs returns the transmogs the user owns

func Commodities

func Commodities() ([]interface{}, bool)

Commodities returns the current commodity auctions from the auction house

func ConnectedRealm

func ConnectedRealm(realmId string) map[string]interface{}

ConnectedRealm returns all realms connected to the given realm ID

func ConnectedRealmId

func ConnectedRealmId(realm string) (string, bool)

ConnectedRealmId returns the connected realm ID of the given realm

func ConnectedRealmSearch

func ConnectedRealmSearch() map[string]interface{}

ConnectedRealmSearch returns the set of all connected realms

func Init

func Init(passPhrase string, profile bool)

func ItemAppearance

func ItemAppearance(itemAppearanceId int64) (interface{}, bool)

ItemAppearance returns the details of a given item appearance ID

func ItemAppearanceSet

func ItemAppearanceSet(appearanceId int64) ([]interface{}, bool)

ItemAppearanceSet returns the appearance IDs of the given appearance set

func ItemAppearanceSetIds

func ItemAppearanceSetIds(appearanceId int64) []int64

ItemAppearanceSetIds returns a slice of the IDs for the given appearance set

func ItemAppearanceSetsIndex

func ItemAppearanceSetsIndex() ([]interface{}, bool)

ItemAppearanceSetsIndex returns IDs of each appearance set

func ItemAppearanceSetsIndexIds

func ItemAppearanceSetsIndexIds() map[int64]string

ItemAppearanceSetsIndexIds returns the ID and name of each appearance set

func ItemAppearanceSlot

func ItemAppearanceSlot(slotName string) ([]interface{}, bool)

ItemAppearanceSlot returns a list of appearances for a given slot

func ItemAppearanceSlotIndex

func ItemAppearanceSlotIndex() []string

ItemAppearanceSlotIndex returns a list of slot names

func LookupItem

func LookupItem(id int64, age time.Duration) (item.Item, bool)

LookupItem retrieves the data for a single item. It retrieves from the database if it is there, or the web if it is not. If it retrieves it from the web it also caches it.

func Pets

func Pets() ([]interface{}, bool)

Pets returns a list of all battle pets in the game

func SkipItem

func SkipItem(item int64) bool

SkipItem returns true if the caller should ignore this item

func Stale

func Stale(i item.Item, age time.Duration) bool

Stale returns whether the item is older than a given number of days

func Toys

func Toys() ([]interface{}, bool)

Toys returns a list of all toys in the game

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL