Go
Go SDK
Officiële Go SDK. Context-ondersteuning, volledige typedefinities. Go 1.21+.
Installatie
$ go get github.com/TCG-Price-Lookup/tcglookup-go Belangrijkste functies
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Gebruiksvoorbeeld
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)
}
Begin met bouwen met de TCG API
Haal uw gratis API-sleutel op en begin binnen enkele minuten kaartprijzen op te vragen.