Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocationAreas ¶
type LocationAreas struct {
Count int `json:"count"`
Next string `json:"next"`
Previous string `json:"previous"`
Results []struct {
Name string `json:"name"`
URL string `json:"url"`
} `json:"results"`
}
func GetLocationAreas ¶
func GetLocationAreas(config *Config, direction string) (LocationAreas, error)
type Pokemon ¶
type Pokemon struct {
Name string `json:"name"`
Height int `json:"height"`
Weight int `json:"weight"`
Stats []struct {
Base_Stat int `json:"base_stat"`
Stat struct {
Name string `json:"name"`
} `json:"stat"`
} `json:"stats"`
Types []struct {
Type struct {
Name string `json:"name"`
} `json:"type"`
} `json:"types"`
Exp int `json:"base_experience"`
}
Click to show internal directories.
Click to hide internal directories.