Added collectors number to edition
This commit is contained in:
parent
194aee8e69
commit
a941095a73
2 changed files with 3 additions and 5 deletions
|
|
@ -19,11 +19,7 @@ func GetPrices(name string) ([]CardPrice, error) {
|
|||
resp, err := client.SearchCards(ctx, name, opts)
|
||||
var prices []CardPrice
|
||||
for _, card := range resp.Cards {
|
||||
fullArtString := ""
|
||||
if card.FullArt {
|
||||
fullArtString = " (Fullart)"
|
||||
}
|
||||
edition := card.SetName + fullArtString
|
||||
edition := card.SetName + " #" + card.CollectorNumber
|
||||
if card.Prices.USD == "" && card.Prices.USDFoil == "" {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue