Go

Go SDK

Hivatalos Go SDK. Context támogatás, teljes típusdefiníciókkal. Go 1.21+.

Telepítés
$ go get github.com/TCG-Price-Lookup/tcglookup-go

Főbb funkciók

  • Zero third-party dependencies
  • Idiomatic Go design
  • Functional options pattern
  • Typed error handling
  • Context support
Használati példa
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 →

Kezdje el a fejlesztést a TCG API-val

Szerezze meg ingyenes API-kulcsát, és percek alatt kezdje el lekérdezni a kártyaárakat.