Skip to main content

A Python wrapper for the Comicvine API.

Project description

Simyan

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

Black Flake8 Pre-Commit

Github - Contributors

Read the Docs Github Action - Code Analysis Github Action - Testing

A Python wrapper for the Comicvine API.

Installation

PyPI

$ pip3 install -U --user simyan

Poetry

$ poetry add 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.publisher_list(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.volume(volume_id=26266)
print(result.summary)

Socials

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

Discord | The-DEV-Environment

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

Simyan-0.9.0.tar.gz (2.5 MB view hashes)

Uploaded Source

Built Distribution

Simyan-0.9.0-py3-none-any.whl (27.1 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