https://github.com/pokeapi/ditto
Tool for meta operations over PokéAPI data
https://github.com/pokeapi/ditto
hacktoberfest pokeapi scraper
Last synced: about 2 months ago
JSON representation
Tool for meta operations over PokéAPI data
- Host: GitHub
- URL: https://github.com/pokeapi/ditto
- Owner: PokeAPI
- License: apache-2.0
- Created: 2016-06-24T15:35:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T01:59:51.000Z (almost 2 years ago)
- Last Synced: 2025-09-29T02:23:40.601Z (7 months ago)
- Topics: hacktoberfest, pokeapi, scraper
- Language: Python
- Homepage:
- Size: 52.6 MB
- Stars: 54
- Watchers: 5
- Forks: 12
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ditto
[](https://pypi.org/project/pokeapi-ditto/)
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
```sh
pip install pokeapi-ditto
ditto --help
```
## Development
```sh
poetry install
poetry run ditto --help
```
## Docker
You should have a PokeApi server running on `localhost:80`.
```sh
# runs clone, analyze, and transform all in one step
docker-compose up --build
```