/ditto

Tool for meta operations over PokéAPI data

Primary LanguagePythonApache License 2.0Apache-2.0

Ditto PyPI - Version

This repository contains:

  • ditto clone: a script to crawl an instance of PokeAPI and download all data
  • ditto analyze: a script to generate a JSON schema of the above data
  • ditto transform: a script to apply a new base url to the above data and schema

Usage

pip install pokeapi-ditto
ditto --help

Development

poetry install
poetry run ditto --help

Docker

You should have a PokeApi server running on localhost:80.

# runs clone, analyze, and transform all in one step
docker-compose up --build