mtgjson

package
v0.0.0-...-86a7292 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LayoutAftermath = "aftermath"
	LayoutFlip      = "flip"
	LayoutMeld      = "meld"
	LayoutNormal    = "normal"
	LayoutSplit     = "split"
	LayoutTransform = "transform"

	FinishNonfoil = "nonfoil"
	FinishFoil    = "foil"
	FinishEtched  = "etched"

	FrameEffectExtendedArt = "extendedart"
	FrameEffectInverted    = "inverted"
	FrameEffectShowcase    = "showcase"
	FrameEffectShattered   = "shatteredglass"

	PromoTypeBundle     = "bundle"
	PromoTypeBuyABox    = "buyabox"
	PromoTypeGameDay    = "gameday"
	PromoTypeIntroPack  = "intropack"
	PromoTypePrerelease = "prerelease"
	PromoTypePromoPack  = "promopack"
	PromoTypeRelease    = "release"
	PromoTypeBoosterfun = "boosterfun"
	PromoTypeGodzilla   = "godzillaseries"
	PromoTypeDracula    = "draculaseries"
	PromoTypePlayPromo  = "playpromo"
	PromoTypeWPN        = "wizardsplaynetwork"
	PromoTypeGilded     = "gilded"
	PromoTypeTextured   = "textured"
	PromoTypeNeonInk    = "neonink"
	PromoTypeGalaxyFoil = "galaxyfoil"
	PromoTypeSurgeFoil  = "surgefoil"
	PromoTypeGlossy     = "glossy"
	PromoTypeEmbossed   = "embossed"
	PromoTypeSerialized = "serialized"
	PromoTypeHaloFoil   = "halofoil"
	PromoTypeScroll     = "scroll"
	PromoTypePoster     = "poster"
	PromoTypeSilverFoil = "silverfoil"
	PromoTypeRippleFoil = "ripplefoil"
	PromoTypeRaisedFoil = "raisedfoil"

	PromoTypeStoreChampionship = "storechampionship"

	PromoTypeStepAndCompleat = "stepandcompleat"
	PromoTypeOilSlick        = "oilslick"
	PromoTypeConcept         = "concept"
	PromoTypeConfettiFoil    = "confettifoil"
	PromoTypeDoubleRainbow   = "doublerainbow"
	PromoTypeRainbowFoil     = "rainbowfoil"
	PromoTypeFractureFoil    = "fracturefoil"

	PromoTypeThickDisplay  = "thick"
	PromoTypeJudgeGift     = "judgegift"
	PromoTypeArenaLeague   = "arenaleague"
	PromoTypePlayerRewards = "playerrewards"
	PromoTypeStarterDeck   = "starterdeck"
	PromoTypeDraftWeekend  = "draftweekend"
	PromoTypeInvisibleInk  = "invisibleink"

	PromoTypeSChineseAltArt = "schinesealtart"

	BorderColorBorderless = "borderless"
	BorderColorGold       = "gold"

	LanguageJapanese  = "Japanese"
	LanguagePhyrexian = "Phyrexian"

	SuffixSpecial = "★"
	SuffixVariant = "†"
	SuffixPhiUp   = "Φ"
	SuffixPhiLow  = "φ"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AllTCGSkus

type AllTCGSkus struct {
	Data map[string][]TCGSku `json:"data"`
	Meta struct {
		Date    string `json:"date"`
		Version string `json:"version"`
	} `json:"meta"`
}

func LoadAllTCGSkus

func LoadAllTCGSkus(r io.Reader) (payload AllTCGSkus, err error)

type TCGSku

type TCGSku struct {
	Condition string `json:"condition"`
	Language  string `json:"language"`
	Printing  string `json:"printing"`
	Finish    string `json:"finish"`
	ProductId int    `json:"productId"`
	SkuId     int    `json:"skuId"`
}

Jump to

Keyboard shortcuts

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