Go
SDK Go
SDK oficial Go com suporte a context e tipagem completa. Go 1.21+.
Instalação
$ go get github.com/TCG-Price-Lookup/tcglookup-go Principais recursos
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Exemplo de uso
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)
}
Comece a desenvolver com a API TCG
Obtenha sua chave de API gratuita e comece a consultar preços de cartas em minutos.