Skip to main content

A Python wrapper for the Comicvine API.

Project description

Simyan

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

Github - Contributors

Github Action - Code Analysis Github Action - Testing

Read the Docs

Code Style - Black Code Style - Flake8

A Python wrapper for the Comicvine API.

Installation

PyPI

$ pip3 install -U --user simyan

Example Usage

from simyan import create_session
from simyan.sqlite_cache import SQLiteCache

session = create_session(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(_id=26266)
print(result.summary)

Depreciation

This library is in Beta, changes will happen as the library settles.

The following is the methodology when changing public Methods, Fields and Classes:

  • Fields will be updated/removed in next minor release.
  • Methods will be marked as deprecated and updated/removed in next major release.
  • Classes will be marked as deprecated and updated/removed in next major release.

Socials

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

Social - Discord Social - Email Social - Twitter

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.6.1.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distribution

Simyan-0.6.1-py3-none-any.whl (36.4 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