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.
Metadata
Release files for prc.api 0.15.0
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 |
|---|---|---|---|---|
| prc_api-0.15.0.tar.gz | 29.6 kB | With provenance | Details for prc_api-0.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prc_api-0.15.0-py3-none-any.whl | Python 3 | none | any | Details for prc_api-0.15.0-py3-none-any.whl |
Total release size: 63.8 kB
Release files / prc_api-0.15.0.tar.gz
| Download URL | prc_api-0.15.0.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
237013349a721550e2a84e5b7813d0ec74936d74d15fb4687071b84b566f55ec
|
|
BLAKE2b-256 checksum How to use checksums |
afcba65ee073914b2ea0b47a152330d98df8bc3d3a2ec453244c863af9792293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logRelease files / prc_api-0.15.0-py3-none-any.whl
| Download URL | prc_api-0.15.0-py3-none-any.whl |
|---|---|
| Size | 34.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dfec1d5fbc1c657b5cc1ff1458e3550e9dcc05f348125caf7c3b51faf1392f2
|
|
BLAKE2b-256 checksum How to use checksums |
d6997a30e6b3c1f906c7ccffa7e8c3873924647dcd63efacb08c174d4b3ac1a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logSecurity for prc.api 0.15.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for prc_api-0.15.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2025.
Transparency logA 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.