Go

Go SDK

SDK Go רשמי. תמיכה ב-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)
}
GitHub →

התחל לפתח עם TCG API

קבל את מפתח ה-API החינמי שלך והתחל לשאול על מחירי קלפים תוך דקות.