Go

SDK Go

SDK Go rasmi. Sokongan context, dengan definisi jenis penuh. Go 1.21+.

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

Ciri Utama

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

Mula membina dengan TCG API

Dapatkan kunci API percuma anda dan mula menanya harga kad dalam beberapa minit.