Skip to main content

A Python wrapper for League of Comic Geeks.

Project description

Himon

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

Hatch Pre-Commit Black isort Flake8

Github - Contributors Github Action - Code Analysis Github Action - Testing

Read the Docs

A Python wrapper for League of Comic Geeks.

Installation

PyPI

  1. Make sure you have Python installed: python --version
  2. Install the library from PyPI: pip install himon

Github

  1. Make sure you have Python installed: python --version
  2. Clone the repo: git clone https://github.com/Buried-In-Code/Himon
  3. Install the library: pip install .

Example Usage

from himon.league_of_comic_geeks import LeagueofComicGeeks
from himon.sqlite_cache import SQLiteCache

session = LeagueofComicGeeks(api_key="API Key", client_id="Client Id", cache=SQLiteCache())

# Search for Comic
for search in session.search(search_term="Blackest Night"):
    print(f"Search result: {search.publisher_name} - {search.series_name} - {search.title}")

# Get Series by id
series = session.series(series_id=100096)
print(f"Series: {series.series_id} - {series.title}")

# Get Comic by id
comic = session.comic(comic_id=2710631)
print(f"Comic: {comic.comic_id} - {comic.title}")

Notes

Who or what is Himon?

Himon is a citizen of New Genesis who secretly lives on the planet Apokolips, which is ruled by Darkseid.

More details at Himon (New Earth)

Socials

Social - Discord

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

himon-0.2.1.tar.gz (50.3 kB view hashes)

Uploaded Source

Built Distribution

himon-0.2.1-py3-none-any.whl (22.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