Skip to content

karismatic-megafauna/pokemon-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exports a flat json object keyed by pokemon name that has this shape:

{
  squirtle: {
    name: "squirtle",
    id: 7,
    height: 5,
    weight: 90,
    sprites: {...},
    stats: {...},
    base_experience: 63,
    types: [{...}],
}

One would use this in an es6 app like so:

  • install it with npm or yarn:
yarn add pokemon-metadata
  • get the metadata!
import pokemonMetadata from 'pokemon-metadata';

const squirtle = pokemonMetadata.squirtle;

This data was sourced from this awesome project => https://pokeapi.co/

Have fun :)

About

Data from the pokemon api and a script to get it!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published