Go
Go SDK
SDK Go resmi. Dukungan context, definisi tipe lengkap. Go 1.21+.
Instalasi
$ go get github.com/TCG-Price-Lookup/tcglookup-go Fitur Utama
- ✓Zero third-party dependencies
- ✓Idiomatic Go design
- ✓Functional options pattern
- ✓Typed error handling
- ✓Context support
Contoh penggunaan
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)
}
Mulai membangun dengan TCG API
Dapatkan kunci API gratis Anda dan mulai mengkueri harga kartu dalam hitungan menit.