Metron-Project / Simyan

A Python wrapper for the Comicvine API.
https://pypi.org/project/simyan
GNU General Public License v3.0
11 stars 2 forks source link
comicvine-api pypi-package python python-3

Simyan

PyPI - Python PyPI - Status PyPI - Version PyPI - License

pre-commit Ruff

Github - Contributors Github Action - Testing Github Action - Publishing

Read the Docs

A Python wrapper for the Comicvine API.

Installation

pip install --user Simyan

Example Usage

from simyan.comicvine import Comicvine
from simyan.sqlite_cache import SQLiteCache

session = Comicvine(api_key="Comicvine API Key", cache=SQLiteCache())

# Search for Publisher
results = session.list_publishers(params={"filter": "name:DC Comics"})
for publisher in results:
    print(f"{publisher.id} | {publisher.name} - {publisher.site_url}")

# Get details for a Volume
result = session.get_volume(volume_id=26266)
print(result.summary)

Documentation

Bugs/Requests

Please use the GitHub issue tracker to submit bugs or request features.

Contributing

Socials

Social - Matrix Social - Matrix