Go
Go SDK
Oficiální Go SDK. Podpora context, kompletní definice typů. Go 1.21+.
Instalace
$ go get github.com/TCG-Price-Lookup/tcglookup-go Hlavní funkce
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Příklad použití
package main
import (
"fmt"
tcg "github.com/TCG-Price-Lookup/tcglookup-go"
)
func main() {
client := tcg.NewClient(tcg.WithAPIKey("your-api-key"))
results, _ := client.Search("charizard")
fmt.Println(results)
}
Začněte vyvíjet s TCG API
Získejte bezplatný klíč API a začněte dotazovat ceny karet během několika minut.