Giter Site home page Giter Site logo

buried-in-code / himon Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 204 KB

A Python wrapper for League of Comic Geeks.

Home Page: https://pypi.org/project/himon

License: GNU General Public License v3.0

Python 100.00%
pypi-package python python-3 comics hatch hatchling mkdocs league-of-comic-geeks-api read-the-docs

himon's Introduction

Himon

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

Rye pre-commit Ruff

Github - Contributors Github Action - Testing

Read the Docs

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

Social - Matrix

himon's People

Contributors

buried-in-code avatar dependabot[bot] avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

himon's Issues

How does one get API access to League of Comic Geeks?

I've signed up for a League of Comic Geeks account and can't seem to find where I would get my client_id and client_secret for the API.

I suspect I might need to upgrade my account but I can't find mention of API access anywhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.