Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 762 Bytes

README.md

File metadata and controls

47 lines (27 loc) · 762 Bytes

Arikaim CMS Api Client for python

version: 1.0.0 license: MIT

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)