erepublik-api
Python wrapper for the eRepublik API with HMAC authentication.
Install
pip install erepublik-api
Usage
from erepublik_api import ERepublikAPIClient
client = ERepublikAPIClient(public_key="your_key", private_key="your_secret")
response = client.api_call("citizen", "profile", {"id": "123456"})
print(response)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
erepublik_api-0.1.0.tar.gz
(2.6 kB
view details)
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 erepublik_api-0.1.0.tar.gz.
File metadata
- Download URL: erepublik_api-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce9e0a99dd8d93f2e1928155d8f981b0a225a9f79fa517bacc0b4b61050e6d65
|
|
| MD5 |
9d5a79c8f7e86656e86e60804cab8c9f
|
|
| BLAKE2b-256 |
6ae5970807a687d7d8914082e65341cde5cd6b298fde4e6a63d37443d6d66627
|
File details
Details for the file erepublik_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: erepublik_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76e820c20ab2333ff3a24c67e4443cd8f829b9b3a911ffcf1ae6dc6407fda01b
|
|
| MD5 |
daceed2be048ff723200b5d107920f30
|
|
| BLAKE2b-256 |
791c8b6d940770e458e60803c5323feb37f9068d018baab185646b0bcbcc6f53
|