TheMathemagicians/sevenkeys/cmd/getdecks/main.go

19 lines
335 B
Go

package main
import (
"fmt"
"sevenkeys/mtggoldfish"
)
func main() {
params := mtggoldfish.DeckSearchParameters{
Format: "pauper",
IncludeTournamentDecks: true,
StartDate: "04/14/2024",
EndDate: "04/28/2024",
}
decks, _ := mtggoldfish.DeckSearch(params)
fmt.Println(decks)
}