Convert Divine-Pride API data to rAthena YAML
Project description
dp2rathena: Divine-Pride API to rAthena
Convert Divine-Pride API data to rAthena DB formats (item_db.yml).
Requirements
- Python 3.7+
Installation
pip install dp2rathena
Usage
Generate a divine-pride.net API key if you don't have one yet.
# Fetch items with id 501 and 1101
dp2rathena item --api-key <your-api-key> -i 501 -i 1101
Alternatively, you can use an environment variable to pass your API key:
export DIVINEPRIDE_API_KEY=<your-api-key>
dp2rathena item -i 501 -i 1101
Contributing
This project uses poetry to manage the development enviroment.
- Setup a local development environment with
poetry install
. - Run tests with
poetry run pytest
- Execute script with
poetry run dp2rathena
Changelog
See CHANGELOG.md
License
See LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dp2rathena-0.1.1.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file dp2rathena-0.1.1.tar.gz
.
File metadata
- Download URL: dp2rathena-0.1.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.1 Linux/4.15.0-1077-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4585a78d694b44e626524fda5abc3c0434823c2a2ab66a9a62040fdad3c0f5 |
|
MD5 | be3cdc908519e727990f36fe9624fc35 |
|
BLAKE2b-256 | 41552f980f2a6a04ce1374cde197e7a8a64b52dcbca96d67cbb06bcaccf8588b |
File details
Details for the file dp2rathena-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dp2rathena-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.1 Linux/4.15.0-1077-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a28b5fb1b9cb9ab73fd02b967277b91b31de92af666b34c2abe6889dd3e975cc |
|
MD5 | b3ed6466211c9b1013b4cd041c53158f |
|
BLAKE2b-256 | f3a18150edeeb3251f38699cde761c737d0485a1da2f2ebe2031de136d896682 |