pokeapi-api-data/README.md

25 lines
995 B
Markdown
Raw Normal View History

2020-07-29 13:15:46 +02:00
# PokéAPI data <a href="https://pokeapi.co/api/v2/pokemon/uxie"><img src='https://veekun.com/dex/media/pokemon/global-link/480.png' height=50px/></a>
2018-09-29 05:19:19 +02:00
2019-12-28 20:59:30 +01:00
[![CircleCI](https://circleci.com/gh/PokeAPI/api-data.svg?style=shield)](https://circleci.com/gh/PokeAPI/api-data)
2018-09-15 10:34:03 +02:00
This repository contains:
2021-02-20 00:18:22 +01:00
- [data/api](data/api): a static copy of the JSON data produced by [PokeAPI](https://github.com/PokeAPI/pokeapi)
2019-12-28 20:59:30 +01:00
- [data/schema](data/schema): a static copy of the PokeAPI schema generated from the above data
2021-02-20 00:18:22 +01:00
- [updater](updater): a [Ditto][1] based bot that runs in docker and updates the data stored in this repo
2018-09-15 10:51:34 +02:00
2019-12-28 20:59:30 +01:00
## Usage
2018-09-15 10:54:58 +02:00
If you'd like to use the JSON for your own purposes, you can apply your own base URL using [Ditto][1]:
2018-09-15 10:51:34 +02:00
2019-12-28 20:59:30 +01:00
```sh
2018-09-15 10:51:34 +02:00
ditto transform --base-url='https://pokeapi.co'
```
2018-09-15 10:34:03 +02:00
2019-12-28 20:59:30 +01:00
## Updater bot
2018-09-15 10:34:03 +02:00
You can manually update the data if necessary. See [the updater bot](updater).
You can run the bot in docker, or read and adapt its update script yourself.
2018-09-15 10:54:58 +02:00
[1]: https://github.com/pokeapi/ditto