Skip to main content

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


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)

Uploaded Source

Built Distribution

fabdb-0.0.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page