Skip to main content

Hardcover API wrapper for Python

Project description

[!WARNING] This package is currently in Alpha development, so download at your own risk.

hardpycover

Simplified API Wrapper for Hardcover, written in Python.

PyPI - Version Python Versions


Installation

pip

pip install hardpycover

uv

uv add hardpycover

Usage

[!NOTE] Using hardpycover requires having an API Key from Hardcover. To avail of an API Key, go to https://hardcover.app/account/api.

import os
from hardpycover import Hardcover

# Store your API_KEY in an .env file
api_key = os.environ["API_KEY"]

# create hardcover instance
hc = Hardcover(api_key=api_key)

Getting User Information

hc.user_profile(['id', 'bio', 'created_at', 'username'])
# > {
# 'id': 2,
# 'bio' 'Lorem ipsum dolores amit',
# 'created_at': '2025-06-23T10:10:10.32341Z',
# 'username': 'kennyrogers'
# }

For more use cases, read the available methods found at main.py.

Contributors

License

MIT License – Free to use, modify, and share.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hardpycover-0.1.4.tar.gz (80.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hardpycover-0.1.4-py3-none-any.whl (88.9 kB view details)

Uploaded Python 3

File details

Details for the file hardpycover-0.1.4.tar.gz.

File metadata

  • Download URL: hardpycover-0.1.4.tar.gz
  • Upload date:
  • Size: 80.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for hardpycover-0.1.4.tar.gz
Algorithm Hash digest
SHA256 27e37e56e163bbed48cebbeca65eda8ec49be01881e8b1829c084108e2aa0d3e
MD5 5671a1dcc74740ded2918166f75dfffc
BLAKE2b-256 017130301f1fce3f485341e0424ff2874d9ee37daf5d08fa53c55c178ac0f1e4

See more details on using hashes here.

File details

Details for the file hardpycover-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: hardpycover-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 88.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for hardpycover-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc86709ee225ec24663ff46f853f514efed0f5192455cca0f1c11ef874863c4
MD5 88f257e4c343d55bb7a582e56208e1e3
BLAKE2b-256 7c9069f2a949061a026af8bb1ec1eb405c355b2270f428bf43b04ec95e242328

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page