Skip to content

PokeAPI/ditto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1df397a · May 7, 2024
May 7, 2024
May 7, 2024
May 10, 2020
May 10, 2020
May 10, 2020
May 10, 2020
May 10, 2020
May 10, 2020
Sep 6, 2018
May 7, 2024
Feb 2, 2019
May 7, 2024
May 7, 2024

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