Documentation ¶
Index ¶
Constants ¶
View Source
const (
GameLorcana = 6
)
View Source
const MB1ProductHash = "48ff4766-9d88-5426-800a-1613c990011b"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TNTBuyingOption ¶
type TNTClient ¶
type TNTClient struct {
// contains filtered or unexported fields
}
func NewTNTClient ¶
func NewTNTClient() *TNTClient
func (*TNTClient) GetProductOptions ¶
func (tnt *TNTClient) GetProductOptions(productId string) ([]TNTBuyingOption, error)
func (*TNTClient) ListModernEditions ¶
func (tnt *TNTClient) ListModernEditions() ([]TNTEdition, error)
func (*TNTClient) ListVintageEditions ¶
func (tnt *TNTClient) ListVintageEditions() ([]TNTEdition, error)
func (*TNTClient) ProductsForId ¶
func (tnt *TNTClient) ProductsForId(id string, code string) (*TNTProduct, error)
type TNTEdition ¶
type TNTProduct ¶
type TrollAndToadGeneric ¶
type TrollAndToadGeneric struct { LogCallback mtgban.LogCallbackFunc MaxConcurrency int // contains filtered or unexported fields }
func NewGenericScraper ¶
func NewGenericScraper(game int) *TrollAndToadGeneric
func (*TrollAndToadGeneric) Buylist ¶
func (tnt *TrollAndToadGeneric) Buylist() (mtgban.BuylistRecord, error)
func (*TrollAndToadGeneric) Info ¶
func (tnt *TrollAndToadGeneric) Info() (info mtgban.ScraperInfo)
func (*TrollAndToadGeneric) Inventory ¶
func (tnt *TrollAndToadGeneric) Inventory() (mtgban.InventoryRecord, error)
type Trollandtoad ¶
type Trollandtoad struct { LogCallback mtgban.LogCallbackFunc MaxConcurrency int // contains filtered or unexported fields }
func NewScraper ¶
func NewScraper() *Trollandtoad
func (*Trollandtoad) Info ¶
func (tnt *Trollandtoad) Info() (info mtgban.ScraperInfo)
func (*Trollandtoad) Inventory ¶
func (tnt *Trollandtoad) Inventory() (mtgban.InventoryRecord, error)
type TrollandtoadSealed ¶
type TrollandtoadSealed struct { LogCallback mtgban.LogCallbackFunc Partner string MaxConcurrency int // contains filtered or unexported fields }
func NewScraperSealed ¶
func NewScraperSealed() *TrollandtoadSealed
func (*TrollandtoadSealed) Info ¶
func (tnt *TrollandtoadSealed) Info() (info mtgban.ScraperInfo)
func (*TrollandtoadSealed) Inventory ¶
func (tnt *TrollandtoadSealed) Inventory() (mtgban.InventoryRecord, error)
Click to show internal directories.
Click to hide internal directories.