Skip to content

PokeAPI/ditto

Repository files navigation

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