Go
Go SDK
Oficjalne Go SDK. Obsługa context, pełne typy. Go 1.21+.
Instalacja
$ go get github.com/TCG-Price-Lookup/tcglookup-go Główne funkcje
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Przykład użycia
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)
}
Zacznij budować z API TCG
Uzyskaj bezpłatny klucz API i zacznij pobierać ceny kart w kilka minut.