Methods
typedex(typeName, version) → {Type}
Takes a type name and outputs information on that type
Parameters:
| Name | Type | Description |
|---|---|---|
typeName |
String
|
The name of the Type |
version |
Number
|
The version of the typedex to use 1-4 (optional) |
Returns:
- Type:
-
Type
Type Definitions
json
Properties:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
object
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
en |
string
|
|
ja |
string
|
genAddednumber
imagesobject
Properties
| Name | Type | Description |
|---|---|---|
tera |
string
|
|
symbol |
string
|
|
icon |
string
|
countersobject
Properties
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
moves |
number
|
|||||||||||||||||||||||||||||||||||||
pokemon |
object
|
|||||||||||||||||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
total |
number
|
|
singleType |
number
|
|
dualType |
number
|
|
gen1 |
number
|
|
gen2 |
number
|
|
gen3 |
number
|
|
gen4 |
number
|
|
gen5 |
number
|
|
gen6 |
number
|
|
gen7 |
number
|
|
gen8 |
number
|
|
gen9 |
number
|
statsobject
Properties
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
average |
object
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
overall |
object
|
||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
hp |
number
|
|
attack |
number
|
|
defense |
number
|
|
spAttack |
number
|
|
spDefense |
number
|
|
speed |
number
|
|
total |
number
|
fullyEvolvedobject
Properties
| Name | Type | Description |
|---|---|---|
hp |
number
|
|
attack |
number
|
|
defense |
number
|
|
spAttack |
number
|
|
spDefense |
number
|
|
speed |
number
|
|
total |
number
|
typemapsobject
Properties
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gen1 |
object
|
|||||||||||||||||||||||||||||||
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
attack |
object
|
||||||||||
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
defenceobject
Properties
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
gen2object
Properties
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
attack |
object
|
||||||||||
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
defenceobject
Properties
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
gen6object
Properties
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
attack |
object
|
||||||||||
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
defenceobject
Properties
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
Type:
-
object
json
Properties:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
object
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
en |
string
|
|
ja |
string
|
genAddednumber
imagesobject
Properties
| Name | Type | Description |
|---|---|---|
tera |
string
|
|
symbol |
string
|
|
icon |
string
|
countersobject
Properties
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
moves |
number
|
|||||||||||||||||||||||||||||||||||||
pokemon |
object
|
|||||||||||||||||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
total |
number
|
|
singleType |
number
|
|
dualType |
number
|
|
gen1 |
number
|
|
gen2 |
number
|
|
gen3 |
number
|
|
gen4 |
number
|
|
gen5 |
number
|
|
gen6 |
number
|
|
gen7 |
number
|
|
gen8 |
number
|
|
gen9 |
number
|
statsobject
Properties
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
average |
object
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
overall |
object
|
||||||||||||||||||||||
| Name | Type | Description |
|---|---|---|
hp |
number
|
|
attack |
number
|
|
defense |
number
|
|
spAttack |
number
|
|
spDefense |
number
|
|
speed |
number
|
|
total |
number
|
fullyEvolvedobject
Properties
| Name | Type | Description |
|---|---|---|
hp |
number
|
|
attack |
number
|
|
defense |
number
|
|
spAttack |
number
|
|
spDefense |
number
|
|
speed |
number
|
|
total |
number
|
typemapsobject
Properties
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gen1 |
object
|
|||||||||||||||||||||||||||||||
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
attack |
object
|
||||||||||
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
defenceobject
Properties
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
gen2object
Properties
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
attack |
object
|
||||||||||
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
defenceobject
Properties
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
gen6object
Properties
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
attack |
object
|
||||||||||
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
defenceobject
Properties
| Name | Type | Description |
|---|---|---|
noEffect |
string
|
|
notVeryEffective |
string
|
|
superEffective |
string
|
Type:
-
object