A Python wrapper for the Grand Comics Database API.
pip install --user Grayven
from grayven.grand_comics_database import GrandComicsDatabase
from grayven.sqlite_cache import SQLiteCache
session = GrandComicsDatabase(cache=SQLiteCache())
# Search for Series
results = session.list_series(name="Green Lantern")
for series in results:
print(f"{series.id} | {series.name} ({series.year_began})")
# Get an issue's release date
result = session.get_issue(id=242700)
print(result.on_sale_date)
Please use the GitHub issue tracker to submit bugs or request features.