Skip to main content

Hardcover API wrapper for Python

Project description

hardpycover

Simplified API Wrapper for Hardcover, written in Python.

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

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.2.tar.gz (77.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.2-py3-none-any.whl (83.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hardpycover-0.1.2.tar.gz
  • Upload date:
  • Size: 77.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.2.tar.gz
Algorithm Hash digest
SHA256 d9e07dbf0064aefcc62639c54280be456b5f8ba2a9ec57217e930cddbe3749e5
MD5 824db8fefb93f5e637fc6548829ead10
BLAKE2b-256 79571765cfca8fb96e735e736ade661c8c966aae2f7c0b674d509b9a7240010e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hardpycover-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 83.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3165ca99161681da2e4883c9961526bfd7c54806ba01326f604310d43326d7
MD5 1dbb1310c5bf05a64c955462cb0832f9
BLAKE2b-256 3b69c3aa650e1cba3209d4121da108424e3f2aa9314103a15235ebdf8831c5d8

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