Arikaim CMS api client
Project description
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)
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
arikaim_client-1.0.19.tar.gz
(4.4 kB
view details)
File details
Details for the file arikaim_client-1.0.19.tar.gz.
File metadata
- Download URL: arikaim_client-1.0.19.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b05e40a49bb6f3dc1a40fc1dca8ef40f86cee2ac2b180b76763d3f94bd2f213e
|
|
| MD5 |
52d33d77dee6c8d6ee6ec352d94b6429
|
|
| BLAKE2b-256 |
d2de6e4a040228e5f844d38dfa9e7bcb96e946bdfeb42c2d70b3763e180a7b5a
|