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.
$ pip install pyfabdb
>>> from pyfabdb import pyfabdb
>>> fabdb = pyfabdb.PyFabdb()
>>> card = fabdb.get_card(id="absorb-in-aether-red")
>>> print(card["name"])
Absorb in Aether
All help is welcomed!
The easiest way to set up a test environment is to run:
tox --devenv venv
source venv/bin/activate
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
.
With the environment created by tox, run:
pip install pre-commit
pre-commit install
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.