Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.25 KB

pokemon-tcg-sdk-go

PokemonTCG Golang SDK

Build Status Go Report Card GoDoc Coverage Status

Install

go get github.com/PokemonTCG/pokemon-tcg-sdk-go/src

Basic Usage

package main

import (
	"fmt"
	"log"

	"github.com/PokemonTCG/pokemon-tcg-sdk-go/src"
)

func main() {
	noParams := make(map[string]string)
	cards, err := pokemontcgsdk.GetCards(noParams)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(cards)
}

See examples section for more.

API Documentation

See the pokemontcg website (The docs).