Skip to main content

Endfield Hub API

Async Python SDK for Arknights: Endfield. Look up public showcases by UID and render operator cards as PNG bytes or Pillow images. If the site cannot return a PNG, the SDK uses the bundled site Canvas templates and artwork in a local browser.

import asyncio
from endfield_hub_api import AsyncEndfieldClient

async def main():
    async with AsyncEndfieldClient(renderer="remote", hide_uid=True, hide_nickname=True,
                                   timeout=90, png_timeout=60) as client:
        files = await client.download_uid_cards("4727743200", "cards")
        print(files)

asyncio.run(main())

Use renderer="local" to read public profiles from Enka directly and render on your machine. An already available build can be rendered with await client.render_card_image(build, renderer="local") without a network connection. The older synchronous EndfieldClient remains available.

With renderer="remote", bulk UID methods use the site's paginated ZIP export. Older deployments remain compatible and return individual PNGs.

Python 3.10+. Local rendering uses Chrome, Edge, or Playwright Chromium (python -m playwright install --only-shell chromium). For API methods and examples, see docs/API.md and examples/ in the source distribution. See also the Endfield Hub HTTP API reference.

Metadata

Release files for endfield-hub-api 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for endfield-hub-api 0.3.2
File Size Uploaded Provenance Actions
endfield_hub_api-0.3.2.tar.gz 23.3 MB Without provenance Details for endfield_hub_api-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for endfield-hub-api 0.3.2
File Interpreter ABI Platform Actions
endfield_hub_api-0.3.2-py3-none-any.whl Python 3 none any Details for endfield_hub_api-0.3.2-py3-none-any.whl

Total release size: 43.3 MB

Release files / endfield_hub_api-0.3.2.tar.gz

Download URL endfield_hub_api-0.3.2.tar.gz
Size 23.3 MB
Tags Source
SHA-256 checksum
How to use checksums
248417222db6e3a921d6292212b70b4636a999567e2efae0aea2f8ac4f1ec249
BLAKE2b-256 checksum
How to use checksums
530099ed2d3d2cade0105f8678eb24e981af636fc9c658cab2c2b7c339c1b0b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / endfield_hub_api-0.3.2-py3-none-any.whl

Download URL endfield_hub_api-0.3.2-py3-none-any.whl
Size 19.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1f4cc1923ab5b3e2c2f04a3f75ff8f59856b506b8c8f8f61e0ba8807888af260
BLAKE2b-256 checksum
How to use checksums
267aaf867b6b149fe676276c9eed1888c5334d8e0e8c6edd75024304d4cddf8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for endfield-hub-api 0.3.2

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.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page