Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 2.86 KB

README.md

File metadata and controls

57 lines (37 loc) · 2.86 KB

Simyan

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

Rye pre-commit Ruff

Github - Contributors Github Action - Testing

Read the Docs

A Python wrapper for the Comicvine API.

Installation

pip install Simyan

Documentation

Read the project documentation

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.publisher_id} | {publisher.name} - {publisher.site_url}")

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

Bugs/Requests

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

Notes

Big thanks to Mokkari for the inspiration and template for this project.

Socials

Social - Matrix