Skip to main content

prc.api is an asynchronous Python wrapper for the PRC/ERLC API

Project description

prc.api is an asynchronous Python wrapper for the Police Roleplay Community (PRC) API.
It provides a convenient way to interact with PRC APIs, including the private server APIs for ER:LC.

📖 Documentation | PyPI

Features

  • 🧩 Developer Friendly
    Functions and responses are wrapped and categorized for ease of use.
  • 💫 Full Coverage
    Supports all features from the API as of November 2025.
  • 🛡️ Maintained
    Actively maintained and fully open source for any contributions.
  • 💪 Robust
    Well tested against errors and handles all known edge-cases.

And more...

  • Rate Limits & Caching
    By default, the package handles and queues requests to ensure near-zero chances of rate limits. It also caches frequent requests and reusable data.
  • Better Types
    The package is strictly typed and all API data is transformed for ease of use. 🎊 Vehicles and command names are included!
  • Utilities
    Extremely useful utilities and helpers spread across the package to make your life easier.
  • Prevents Bans
    Along with rate limit parsing and handling, you never have to worry about invalid secrets resulting in IP bans!

Check out the documentation for all details.

Install Latest Release (pip)

pip install prc.api

The package has been tested for Python v3.8+. It may not work on older versions.

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

prc_api-0.15.2.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prc_api-0.15.2-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file prc_api-0.15.2.tar.gz.

File metadata

  • Download URL: prc_api-0.15.2.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for prc_api-0.15.2.tar.gz
Algorithm Hash digest
SHA256 73a1e93b1a89a5e09d387480f6d76c5f5d650f860690718ed1ceaff8f1e45ad7
MD5 a133fed5a3a4e78e3c3911b1aeefc35c
BLAKE2b-256 6e4fb0d44946d3316c9b0f24d2ffa368b798aeef495c6c31bbf682dc05c66878

See more details on using hashes here.

Provenance

The following attestation bundles were made for prc_api-0.15.2.tar.gz:

Publisher: release.yml on TychoTeam/prc.api-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prc_api-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: prc_api-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for prc_api-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e623115062c5e5e3f712eccd16edfc5725dd66d73522e734c26a0f1e75b9661
MD5 2bea7dc51bb65743b4325ef0023b5081
BLAKE2b-256 0fe071331f26828bd4e51fa2fc77018d97d33286ac65641cb0f4cb9919157193

See more details on using hashes here.

Provenance

The following attestation bundles were made for prc_api-0.15.2-py3-none-any.whl:

Publisher: release.yml on TychoTeam/prc.api-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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