Go
SDK Go
Офіційний 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 і почніть запитувати ціни на картки за лічені хвилини.