Go
Go SDK
Officiel Go SDK med context-understøttelse og fulde typedefinitioner. Go 1.21+.
Installation
$ go get github.com/TCG-Price-Lookup/tcglookup-go Vigtigste funktioner
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Eksempel på brug
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)
}
Begynd at bygge med TCG API
Få din gratis API-nøgle og begynd at forespørge kortpriser på få minutter.