manapool

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	URL                  string `json:"url"`
	Name                 string `json:"name"`
	SetCode              string `json:"set_code"`
	Number               string `json:"number"`
	MultiverseID         string `json:"multiverse_id"`
	ScryfallID           string `json:"scryfall_id"`
	AvailableQuantity    int    `json:"available_quantity"`
	PriceCents           int    `json:"price_cents"`
	PriceCentsFoil       int    `json:"price_cents_foil"`
	PriceCentsLpPlus     int    `json:"price_cents_lp_plus"`
	PriceCentsLpPlusFoil int    `json:"price_cents_lp_plus_foil"`
	PriceCentsNm         int    `json:"price_cents_nm"`
	PriceCentsNmFoil     int    `json:"price_cents_nm_foil"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) GetPriceList

func (mp *Client) GetPriceList() ([]Card, error)

type Manapool

type Manapool struct {
	LogCallback mtgban.LogCallbackFunc
	Partner     string
	// contains filtered or unexported fields
}

func NewScraper

func NewScraper() *Manapool

func (*Manapool) Info

func (mp *Manapool) Info() (info mtgban.ScraperInfo)

func (*Manapool) Inventory

func (mp *Manapool) Inventory() (mtgban.InventoryRecord, error)

Jump to

Keyboard shortcuts

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