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.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)
Project details
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.10.tar.gz
(3.9 kB
view hashes)