Go
SDK de Go
SDK oficial de Go con soporte para context y tipos completos. Go 1.21+.
Instalación
$ go get github.com/TCG-Price-Lookup/tcglookup-go Características principales
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Ejemplo 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)
}
Empieza a desarrollar con la API TCG
Obtén tu clave API gratuita y empieza a consultar precios de cartas en minutos.