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
access_token = None
session = LeagueofComicGeeks(client_id="Client Id", client_secret="Client Secret", access_token=access_token, cache=SQLiteCache())
# Generate an access token if not supplied
if not access_token:
session.access_token = session.generate_access_token()
# 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}")
Bugs/Requests
Please use the GitHub issue tracker to submit bugs or request features.
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
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.4.0.tar.gz
(59.0 kB
view details)
Built Distribution
himon-0.4.0-py3-none-any.whl
(22.9 kB
view details)
File details
Details for the file himon-0.4.0.tar.gz
.
File metadata
- Download URL: himon-0.4.0.tar.gz
- Upload date:
- Size: 59.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a55fd8c4d45ecf6397fd536f1478e8410d41c7e5b593ca46b3441e52fcc5a1f6 |
|
MD5 | 432c2b86811f9b7614f4d8c11aa70269 |
|
BLAKE2b-256 | c480d4acb40c2edf31a9409ebb824bc87564b408231daa9c75f8e37302ced4e9 |
Provenance
File details
Details for the file himon-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: himon-0.4.0-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 327097955b16a6ba9443fe95656165deb46f40a004b406ea501ee16c3e49ae9a |
|
MD5 | 089bd23380134a6d32a782fb10c49b88 |
|
BLAKE2b-256 | 0eb3a55a20c832266869b12e543df27302f77817c58ffbcef2956757e36fcd69 |