Hardcover API wrapper for Python
Project description
hardcoverpy
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 hardcoverpy
uv
uv add hardcoverpy
Usage
[!NOTE] Using
hardcoverpyrequires having an API Key from Hardcover. To avail of an API Key, go to https://hardcover.app/account/api.
import os
from hardcoverpy 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hardpycover-0.1.1.tar.gz.
File metadata
- Download URL: hardpycover-0.1.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4cc4991d0aa1bcf58655f962ba993c500015ec032dc6c92576bc42845c69c5a
|
|
| MD5 |
f0275341c8ec50862d1042c06b64ad41
|
|
| BLAKE2b-256 |
aff7a1366ba29e2e7b7f3291737f897a895e642f80611211d6c146792dc34aa5
|
File details
Details for the file hardpycover-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hardpycover-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73730b66c6ec659512a132e939c9522d7f38878c45635d3dcfe9116c796fe0f3
|
|
| MD5 |
5d568aca4ca50e5cba0d9211638fd40e
|
|
| BLAKE2b-256 |
8cd80bc328bda521d455f3d029eadd1e2a4ba074786976f0435860a3834c03b6
|