PiSaucer / staticmon

Simple Static JSON Files For Pokemon Data

Home Page:https://pisaucer.github.io/staticmon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Staticmon

Simple Static JSON Files For Pokemon Data

Get Pokemon Data

This returns an json file of Pokemon object containing all the information of the Pokemon specified by the Pokedex Number.

https://pisaucer.github.io/staticmon/pokemon/:number/:min
Example Response

https://pisaucer.github.io/staticmon/pokemon/150
{
  "number": "150",
  "name": "Mewtwo",
  "generation": 1,
  "description": "Said to rest quietly in an undiscovered cave, this POKéMON was created solely for battling.",
  "species": "Genetic",
  "types": [
    "Psychic"
  ],
  "abilities": {
    "normal": [
      "Pressure"
    ],
    "hidden": [
      "Unnerve"
    ]
  },
  "height": "6'07\"",
  "weight": "269 lbs.",
  "eggGroups": [
    "Undiscovered"
  ],
  "gender": [],
  "family": {
    "id": 77,
    "evolutionStage": 1,
    "evolutionLine": [
      "Mewtwo"
    ]
  },
  "sprites": {
    "default": "https://pisaucer.github.io/staticmon/images/150.png",
    "shiny": "https://pisaucer.github.io/staticmon/images/shiny/150.png"
  },
  "isStarter": false,
  "isLegendary": true,
  "isMythical": false,
  "isUltraBeast": false,
  "isMega": false
}

Data Structure

Field Type Description
number integer The Pokedex number
name string The name of the Pokemon
generation integer The generation the Pokemon was first discovered
description string The description of the Pokemon
species string The species the Pokemon belongs to
types array of Pokemon Types The type of the Pokemon
abilities array of normal and hidden Pokemon abilities The abilities of the Pokemon
height string The height of the Pokemon in feet
weight string The weight of the Pokemon in pounds
eggGroups array of Pokemon Egg Groups The egg groups the Pokemon belong to
gender array of integer The percentage change of male and female of the Pokemon
family Pokemon Family Object The family id, evolution stage and evolution line of the Pokemon
sprites array of strings The URLs of an images of the Pokemon (Default and Shiny)
isStarter bool Is it a starter Pokemon?
isLegendary bool Is it a legendary Pokemon?
isMythical bool Is it a mythical Pokemon?
isUltraBeast bool Is it an ultra beast Pokemon?
isMega bool Is it a mega evolved form of the Pokemon?

Pokemon Family Structure

Field Type Description
id integer The id of Pokemon family
evolutionStage integer The evolved stage of the Pokemon in its evolution line
evolutionLine array of strings The list of Pokemon in its evolution line, in order

Get Pokemon Count

This json file returns a Pokemon Counts object containing the number of Pokemon in each generation and the total number of Pokemon in the Pokemon World.

https://pisaucer.github.io/staticmon/pokemon/counts/
Example Response

{
  "gen1": 151,
  "gen2": 100,
  "gen3": 135,
  "gen4": 107,
  "gen5": 156,
  "gen6": 72,
  "gen7": 86,
  "total": 807
}

Categories

This json file returns an array of Pokemon Categories discovered in the Pokémon World.

https://pisaucer.github.io/staticmon/categories/
Example Response

[
    "starter",
    "legendary",
    "mythical",
    "ultraBeast",
    "mega"
]


Pokemon and Pokemon character names are trademarks of Nintendo.

<style> /* Add Arrows to Summary */ summary { display: list-item; } /* Highlighter */ .highlight{font-weight:400!important}.highlight .hll{background-color:#ffc}.highlight .c{color:green}.highlight .err{border:1px solid red}.highlight .k{color:#00f}.highlight .cm{color:green}.highlight .cp{color:#00f}.highlight .c1{color:green}.highlight .cs{color:green}.highlight .ge{font-style:italic}.highlight .gh{font-weight:700}.highlight .gp{font-weight:700}.highlight .gs{font-weight:700}.highlight .gu{font-weight:700}.highlight .kc{color:#00f}.highlight .kd{color:#00f}.highlight .kn{color:#00f}.highlight .kp{color:#00f}.highlight .kr{color:#00f}.highlight .kt{color:#2b91af}.highlight .s{color:#a31515}.highlight .nc{color:#2b91af}.highlight .ow{color:#00f}.highlight .sb{color:#a31515}.highlight .sc{color:#a31515}.highlight .sd{color:#a31515}.highlight .s2{color:#a31515}.highlight .se{color:#a31515}.highlight .sh{color:#a31515}.highlight .si{color:#a31515}.highlight .sx{color:#a31515}.highlight .sr{color:#a31515}.highlight .s1{color:#a31515}.highlight .ss{color:#a31515} </style>

About

Simple Static JSON Files For Pokemon Data

https://pisaucer.github.io/staticmon/

License:MIT License


Languages

Language:JSON 100.0%Language:HTML 0.0%