Go
Go SDK
Offisiell Go SDK. Context-støtte, fullstendige typedefinisjoner. Go 1.21+.
Installasjon
$ go get github.com/TCG-Price-Lookup/tcglookup-go Viktige funksjoner
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Brukseksempel
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)
}
Begynn å bygge med TCG API
Få din gratis API-nøkkel og begynn å hente kortpriser på få minutter.