A Python Library for Flesh and Blood DB API
Project description
PyFABDB
PyFABDB is a Python library to access the Flesh and Blood DB API. The Python library enables you to access all public Flesh and Blood DB API endpoints using Python.
Install
$ pip install pyfabdb
Examples
>>> from pyfabdb import pyfabdb
>>> fabdb = pyfabdb.PyFabdb()
>>> card = fabdb.get_card(id="absorb-in-aether-red")
>>> print(card["name"])
Absorb in Aether
Contributing
All help is welcomed!
1. Setting up an environment
The easiest way to set up a test environment is to run:
tox --devenv venv
source venv/bin/activate
2. Running all the tests
After making your changes and creating new test for any changes, you will need to ensure all test pass. Running all the test can be done by running tox -e py
.
3. Install pre-commit
With the environment created by tox, run:
pip install pre-commit
pre-commit install
4. Create a pull requests
Create a pull request following the pull request template. A maintainer will review the changes made, update the changelog and release the new version of pyfabdb.
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
Built Distribution
Hashes for pyfabdb-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d41a267ca8850b2a08430c794facce584a57e9f66349723ddf93a400445b04 |
|
MD5 | b6d07ed30867a00485b77960f4b03cef |
|
BLAKE2b-256 | 20b75ee345ffd03b2ecbb4c457fa3d750e8e49b50ef904079f65a70a27748388 |