Go
Go SDK
Virallinen Go SDK. Context-tuki, täydet tyypit. Go 1.21+.
Asennus
$ go get github.com/TCG-Price-Lookup/tcglookup-go Pääominaisuudet
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Käyttöesimerkki
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)
}
Aloita kehittäminen TCG API:lla
Hanki ilmainen API-avain ja aloita korttien hintojen hakeminen minuuteissa.