Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buried-in-code/himon
A Python wrapper for League of Comic Geeks.
https://github.com/buried-in-code/himon
comics league-of-comic-geeks-api mkdocs pypi-package python python-3 read-the-docs
Last synced: 22 days ago
JSON representation
A Python wrapper for League of Comic Geeks.
- Host: GitHub
- URL: https://github.com/buried-in-code/himon
- Owner: Buried-In-Code
- License: gpl-3.0
- Created: 2022-07-17T22:29:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T20:53:52.000Z (2 months ago)
- Last Synced: 2024-10-11T21:41:54.079Z (26 days ago)
- Topics: comics, league-of-comic-geeks-api, mkdocs, pypi-package, python, python-3, read-the-docs
- Language: Python
- Homepage: https://pypi.org/project/himon
- Size: 199 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Himon
[![PyPI - Python](https://img.shields.io/pypi/pyversions/Himon.svg?logo=Python&label=Python&style=flat-square)](https://pypi.python.org/pypi/Himon/)
[![PyPI - Status](https://img.shields.io/pypi/status/Himon.svg?logo=Python&label=Status&style=flat-square)](https://pypi.python.org/pypi/Himon/)
[![PyPI - Version](https://img.shields.io/pypi/v/Himon.svg?logo=Python&label=Version&style=flat-square)](https://pypi.python.org/pypi/Himon/)
[![PyPI - License](https://img.shields.io/pypi/l/Himon.svg?logo=Python&label=License&style=flat-square)](https://opensource.org/licenses/GPL-3.0)[![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/rye/main/artwork/badge.json)](https://rye.astral.sh)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)[![Github - Contributors](https://img.shields.io/github/contributors/Buried-In-Code/Himon.svg?logo=Github&label=Contributors&style=flat-square)](https://github.com/Buried-In-Code/Himon/graphs/contributors)
[![Github Action - Testing](https://img.shields.io/github/actions/workflow/status/Buried-In-Code/Himon/testing.yaml?branch=main&logo=Github&label=Testing&style=flat-square)](https://github.com/Buried-In-Code/Himon/actions/workflows/testing.yaml)[![Read the Docs](https://img.shields.io/readthedocs/himon?label=Read-the-Docs&logo=Read-the-Docs&style=flat-square)](https://himon.readthedocs.io/en/latest/?badge=latest)
A [Python](https://www.python.org/) wrapper for [League of Comic Geeks](https://leagueofcomicgeeks.com).
## Installation
```bash
pip install Himon
```## Documentation
[Read the project documentation](https://himon.readthedocs.io/en/latest/?badge=latest)
### Example Usage
```python
from himon.league_of_comic_geeks import LeagueofComicGeeks
from himon.sqlite_cache import SQLiteCachesession = 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](https://github.com/Buried-In-Code/Himon/issues) to submit bugs or request features.
## Socials
[![Social - Matrix](https://img.shields.io/matrix/The-Dev-Environment:matrix.org?label=The%20Dev%20Environment&logo=matrix&style=for-the-badge)](https://matrix.to/#/#The-Dev-Environment:matrix.org)