Go

SDK Go

SDK Go officiel. Support context, types complets. Go 1.21+.

Installation
$ go get github.com/TCG-Price-Lookup/tcglookup-go

Fonctionnalités principales

  • Zero third-party dependencies
  • Idiomatic Go design
  • Functional options pattern
  • Typed error handling
  • Context support
Exemple d'utilisation
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)
}
GitHub →

Commencez à développer avec l'API TCG

Obtenez votre clé API gratuite et commencez à interroger les prix des cartes en quelques minutes.