1.0.1 • Published 5 years ago
gatsby-source-poke v1.0.1
Source plugin for pulling pokemon data into Gatsby.
How to install
Within the root of your Gatsby Project:
npm install gatsby-source-pokeadd
gatsby-source-poketo your plugin array ingatsby-config.jsNavigate to
localhost:8000/__graphqlto viewallPokemonsquery type.
Examples of usage
allPokemons {
nodes {
name
id
total
hp
sp_def
sp_atk
defense
attack
type
speed
national_number
natl_num(as int)
sprites {
normal
large (not available on pokemon after national_number 721)
}
}
}
}1.0.1
5 years ago