https://github.com/enviy/mtg-sdk-go
Magic: The Gathering SDK - Go
https://github.com/enviy/mtg-sdk-go
go golang mtg mtg-api mtg-standard
Last synced: 5 months ago
JSON representation
Magic: The Gathering SDK - Go
- Host: GitHub
- URL: https://github.com/enviy/mtg-sdk-go
- Owner: Enviy
- License: mit
- Fork: true (MagicTheGathering/mtg-sdk-go)
- Created: 2023-01-27T03:02:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T19:20:36.000Z (over 2 years ago)
- Last Synced: 2024-06-21T13:43:46.678Z (almost 2 years ago)
- Topics: go, golang, mtg, mtg-api, mtg-standard
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Magic: The Gathering SDK
This is the Magic: The Gathering SDK Go implementation. It is a wrapper around the MTG API of [magicthegathering.io](http://magicthegathering.io/).
## Installation
Just run
`go get github.com/Enviy/mtg-sdk-go`
OR just let go mod handle dependencies for you by calling
`go mod init `
`go mod tidy`
Want to see what sets are in standard?
``` Go
sets, err := mtg.StandardSets()
if err != nil {
return err
}
fmt.Println(sets)
```
## Docs
See [GoDoc](https://pkg.go.dev/github.com/Enviy/mtg-sdk-go)