CLI and Utility for fabdb.net
Project description
fabdb-cli
A Command Line Interface and general-purpose library for querying fabdb in python.
Usage
:warning: Currently under construction :warning:
from fabdb.client import FabDBClient
client = FabDBClient()
print("Single card by ID:")
nimblism = client.get_card("nimblism-yellow")
print(nimblism.name)
print()
print("Search Cards:")
ranger_cards = client.search_cards(class_="ranger", pitch=2)
for c in ranger_cards:
# automatically handles requesting additional pages as needed
print(c)
print()
print("Find a deck:")
deck = client.get_deck("bYDmozyB")
print(deck.name)
print(deck.cards[0])
Coming Soon
- CLI interface
- Textual output formatters
- Interactive/expanded search
- Local card cache
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
fabdb-0.0.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
fabdb-0.0.1-py3-none-any.whl
(7.0 kB
view hashes)