Arikaim CMS Api Client for python
This repo is part of Arikaim CMS project.
Installation
pip install arikaim-client
Usage
from arikaim.client import ArikaimClient
client = ArikaimClient(host,apiKey)
data = {
request data fields key: value
}
response = client.request(method,url,data)
print(response.status)
print(response.to_dictonary())
#Add header
client.add_header({ 'key': 'value' })
#POST request
response = client.post(url,data)
#GET request
response = client.get(url)
#PUT request
response = client.put(url,data)
# Save base64 encoded file
client.save_ecoded_file(response,field_name, file_name)
# upload local file
client.upload(path, file_name, field_name, data, method = POST)
Metadata
Release files for arikaim-client 1.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arikaim_client-1.0.19.tar.gz | 4.4 kB | Details |
Release files / arikaim_client-1.0.19.tar.gz
| Download URL | arikaim_client-1.0.19.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b05e40a49bb6f3dc1a40fc1dca8ef40f86cee2ac2b180b76763d3f94bd2f213e
|
|
BLAKE2b-256 checksum How to use checksums |
d2de6e4a040228e5f844d38dfa9e7bcb96e946bdfeb42c2d70b3763e180a7b5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|