Skip to content

progreon/api-data

 
 

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.1%
  • Shell 35.8%
  • Dockerfile 11.1%