A Python wrapper for League of Comic Geeks.
Project description
Himon
A Python wrapper for League of Comic Geeks.
Installation
pip install Himon
Documentation
Read the project documentation
Example Usage
from himon.league_of_comic_geeks import LeagueofComicGeeks
from himon.sqlite_cache import SQLiteCache
session = LeagueofComicGeeks(client_id="Client Id", client_secret="Client Secret", access_token=None, cache=SQLiteCache())
# Generate an access token if not supplied
if not session.access_token:
session.access_token = session.generate_access_token()
# Search for Comic
for result in session.search(search_term="Blackest Night"):
print(f"Result: {result.publisher_name} - {result.series_name} - {result.title}")
# Get Series by id
series = session.get_series(series_id=100096)
print(f"Series: {series.id} - {series.title}")
# Get Comic by id
comic = session.get_comic(comic_id=2710631)
print(f"Comic: {comic.id} - {comic.title}")
Bugs/Requests
Please use the GitHub issue tracker to submit bugs or request features.
Socials
Project details
Release history Release notifications | RSS feed
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.6.1.tar.gz
(56.7 kB
view hashes)
Built Distribution
himon-0.6.1-py3-none-any.whl
(23.5 kB
view hashes)