Go
Go SDK
Official Go SDK. May context support at kumpletong type definitions. Go 1.21+.
Pag-install
$ go get github.com/TCG-Price-Lookup/tcglookup-go Mga Pangunahing Feature
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Halimbawa ng Paggamit
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)
}
Simulan ang pagbuo gamit ang TCG API
Kumuha ng libreng API key at simulan ang pag-query ng mga presyo ng kard sa ilang minuto.