Go

Go SDK

Officiellt Go SDK. Context-stöd, fullständiga typdefinitioner. Go 1.21+.

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

Huvudfunktioner

  • Zero third-party dependencies
  • Idiomatic Go design
  • Functional options pattern
  • Typed error handling
  • Context support
Användningsexempel
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 →

Börja bygga med TCG API

Hämta din gratis API-nyckel och börja fråga kortpriser på minuter.