Go

Go SDK

SDK Go chính thức. Hỗ trợ context, đầy đủ định nghĩa kiểu. Go 1.21+.

Cài đặt
$ go get github.com/TCG-Price-Lookup/tcglookup-go

Tính năng chính

  • Zero third-party dependencies
  • Idiomatic Go design
  • Functional options pattern
  • Typed error handling
  • Context support
Ví dụ sử dụng
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ắt đầu xây dựng với TCG API

Nhận khóa API miễn phí và bắt đầu truy vấn giá thẻ bài trong vài phút.