Go
Go SDK
공식 Go SDK. context 지원, 완전한 타입 정의 포함. Go 1.21+.
설치
$ go get github.com/TCG-Price-Lookup/tcglookup-go 주요 기능
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
사용 예시
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)
}
TCG API로 개발을 시작하세요
무료 API 키를 발급받아 몇 분 안에 카드 가격 조회를 시작하세요.