Skip to content

PokeAPI/api-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokeAPI Data

This repository contains:

  • data/api: a static copy of the JSON data generated with the above script
  • data/schema: a static copy of the PokeAPI schema generated from the above data
  • updater: a Ditto based bot that runs in docker and can update the data stored in this repo
  • Deployment configs to deploy an instance of the API to Netlify

Usage

If you'd like to use the JSON for your own purposes, you can apply your own base URL using Ditto:

ditto transform --base-url='https://pokeapi.co'

If you're deploying to Netlify, use the button below and remember to set the BASE_URL environment variable.

Deploy to Netlify

# example
BASE_URL='http://pokeapi.co'

Updater Bot

You can manually update the data if necessary. See the updater bot. You can run the bot in docker, or read and adapt its update script yourself.

About

Static JSON data from the API, plus a JSON Schema

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors