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


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.3.tar.gz (78.4 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.3-py3-none-any.whl (85.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hardpycover-0.1.3.tar.gz
  • Upload date:
  • Size: 78.4 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.3.tar.gz
Algorithm Hash digest
SHA256 590c9b1c274fde0d941e6be8012fdbe78a84a6115e9d6ac7f9e73b3640a9829d
MD5 c639ac1b34966fa6ba4e1494b772ae96
BLAKE2b-256 9ebf545a1e031151f4d52bfdec973f6e20994c88522661549d516df5a5bddcd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hardpycover-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 85.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb513d98a7e1e107c708e15d3fc75bda93b536fa68df058edfdf2ded993d65a9
MD5 94c0337cdef107a6e149b37e3a049504
BLAKE2b-256 20e18e8d5ac56a77a7d524fb771623368be5d5c885bacfb34b1beebe38b88446

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