Python wrapper for the eRepublik API
Project description
erepublik-api
Python wrapper for the eRepublik API with HMAC authentication. https://api.erepublik.com/doc/
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", {"citizenid": "2"})
print(response)
Project details
Release history Release notifications | RSS feed
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.1.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.1.tar.gz.
File metadata
- Download URL: erepublik_api-0.1.1.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 |
b5202855972986710685a796c2334c15608abb9f99c607b6d406aada2cefc6aa
|
|
| MD5 |
8952872cd3817feded5d274db312f0f1
|
|
| BLAKE2b-256 |
78afeb92764f27bcec8414ec63f80a9c52f6114c999714c4136f659883c79980
|
File details
Details for the file erepublik_api-0.1.1-py3-none-any.whl.
File metadata
- Download URL: erepublik_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 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 |
f7e103ae30fc277c8b312384cf727a624610c17653583e380da92b8294b47a5c
|
|
| MD5 |
45f17d8d75e4a0d333a971be2620d081
|
|
| BLAKE2b-256 |
4d81f8529684c97a487bc3e8c1730d0dbd8fa97a25edb0086bc74da8570d168b
|