cardfightwiki

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	EnglishName      string
	JapaneseName     string
	Type             *string
	Grade            int
	Skill            *string
	Power            *string
	Critical         *int
	Shield           *int
	Nation           *string
	Clan             *string
	Race             *string
	TriggerEffect    *string
	Formats          []string
	Flavor           *string
	Effect           *string
	EnglishImageURL  string
	JapaneseImageURL string
}

Card contains the data found on a Vanguartd card page from https://cardfight.fandom.com/

func GetCard

func GetCard(cardName string, preferPremium bool) (Card, error)

GetCard retrieves a card's information from https://cardfight.fandom.com/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL