A Python wrapper for League of Comic Geeks.
Project description
Himon
A Python wrapper for League of Comic Geeks.
Installation
PyPI
- Make sure you have Python installed:
python --version
- Install the library from PyPI:
pip install himon
Github
- Make sure you have Python installed:
python --version
- Clone the repo:
git clone https://github.com/Buried-In-Code/Himon
- 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
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.2.1.tar.gz
(50.3 kB
view details)
Built Distribution
himon-0.2.1-py3-none-any.whl
(22.4 kB
view details)
File details
Details for the file himon-0.2.1.tar.gz
.
File metadata
- Download URL: himon-0.2.1.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 483196bcf21ee3b29fad6ade37b6f22ca22868700fc79eedcb2daa04e3d7b1f9 |
|
MD5 | 1c212b6c3df6aa92bf49b5ac8c7f3a45 |
|
BLAKE2b-256 | 935e196bba88e3d52efcf5abf83d77bfdbf29c9dbc30fc860e5040cb5b32d726 |
Provenance
File details
Details for the file himon-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: himon-0.2.1-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f3556f72dcc191beaa00557283aea3d34ab9c5423434d189a4204c02d9d1601 |
|
MD5 | 6e5332c23d2282d4c27c8d71811c05d3 |
|
BLAKE2b-256 | 64131942e199a01e92f5cc642a252d48eb81e002ecc31f5cca346b5cf43f087f |