Skip to content

ckaznable/poke-data-cralwer

Repository files navigation

Pokemon Data Crawler

generate pokemon data json and cralwer from wiki.52poke.com and www.serebii.net

Using

you can found pokemon.json and pokemon_flat.json in dist dictionary.

Roadmap

  • pokemon iv and type data
  • pokemon translate name
  • move data
  • ability data
    • pokemon ability fields
    • ability reference json data
  • different form translate

Data struct

pokemon.json

region form is in form fields.

[
  {
    type: [string] | [string, string]
    ability: number[]
    name: {
      en: string
      zh: string
      jp: string
    }
    no: number
    iv: {
      hp: number
      att: number
      def: number
      s_att: number
      s_def: number
      spd: number
    },
    form?: [
      {
        type: [string] | [string, string]
        ability: number[]
        iv: {
          hp: number
          att: number
          def: number
          s_att: number
          s_def: number
          spd: number
        }
      },
      ...
    ],
  }
  ...
]

pokemon_flat.json

region form are set on layer 1

[
  {
    type: [string] | [string, string]
    ability: number[]
    name: {
      en: string
      zh: string
      jp: string
    }
    no: number
    iv: {
      hp: number
      att: number
      def: number
      s_att: number
      s_def: number
      spd: number
    },
  }
  ...
]

ability.json

ability reference data

{
  [ability number]: {
    no: number
    name: {
      zh: string
      en: string
      jp: string
    }
    desc: {
      zh: string
      en: string
      jp: string
    }
  }
}

API

also use api in following path.

LICENSE

MIT

About

generate pokemon data json

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published