curseforge-api-wrapper
curseforge_api_wrapper 是一个用于与 Curseforge API 交互的 Python 包。它提供了方便的客户端类和方法来访问 Curseforge 的各种 API 端点。
特别指出提供了所有返回值的 Pydantic 封装,便于调用。
Installation
pip install curseforge-api-wrapper
Usage
from curseforge_api_wrapper import Client
# Initialize client with your API key
client = Client(api_key="your-api-key")
# Search for mods
results = client.search_mods(gameId=432, pageSize=10, searchFilter="fabric-api")
# Get specific mod
mod = client.get_mod(306612)
# Get mod files
files = client.get_mod_files(306612)
# Get specific file
file = client.get_file(306612, 6113566)
# Get file download URL
url = client.get_file_download_url(306612, 6113566)
# Get fingerprints
fingerprints = client.get_fingerprint([3379185284, 2253581192])
# Get categories
categories = client.get_categories(gameId=432)
Metadata
Release files for curseforge-api-wrapper 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| curseforge_api_wrapper-1.0.1.tar.gz | 23.1 kB | Without provenance | Details for curseforge_api_wrapper-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| curseforge_api_wrapper-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for curseforge_api_wrapper-1.0.1-py3-none-any.whl |
Total release size: 30.9 kB
Release files / curseforge_api_wrapper-1.0.1.tar.gz
| Download URL | curseforge_api_wrapper-1.0.1.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdb1953dc5514315a3fe030d650d8f7edb3cf2d23912a27736132476504c2b73
|
|
BLAKE2b-256 checksum How to use checksums |
3c72a869d37a5534395c360c94bab981605ddee7329948c12ebcb8615ad3dcb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.24
|
Release files / curseforge_api_wrapper-1.0.1-py3-none-any.whl
| Download URL | curseforge_api_wrapper-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdb044ea52a87b660da8e4430619a9b564313e902bcecbe3ceee4face59ef9cc
|
|
BLAKE2b-256 checksum How to use checksums |
615c855bc1fe34260d8c6e2507bb9447abe40a7b169fe68b3b4f5ae1cdad5014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.24
|
Security for curseforge-api-wrapper 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.