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)
}
ابدأ البناء باستخدام TCG API
احصل على مفتاح API المجاني وابدأ الاستعلام عن أسعار البطاقات في دقائق.