Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Preprocess ¶
func Preprocess(card CKCard) (*mtgmatcher.Card, error)
Types ¶
type CKCard ¶
type CKCard struct { Id int `json:"id"` SKU string `json:"sku"` URL string `json:"url"` Name string `json:"name"` Variation string `json:"variation"` Edition string `json:"edition"` IsFoil string `json:"is_foil"` SellPrice string `json:"price_retail"` SellQuantity int `json:"qty_retail"` BuyPrice string `json:"price_buy"` BuyQuantity int `json:"qty_buying"` }
type CKPriceList ¶
type CKPriceList struct { Meta struct { CreatedAt string `json:"created_at"` BaseURL string `json:"base_url"` } `json:"meta"` Data []CKCard `json:"data"` }
func GetPriceList ¶
func GetPriceList() (*CKPriceList, error)
Click to show internal directories.
Click to hide internal directories.