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
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.
# example
BASE_URL='http://pokeapi.co'
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.