Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arikaim/api-client-py

Arikaim CMS api client for python
https://github.com/arikaim/api-client-py

Last synced: about 1 month ago
JSON representation

Arikaim CMS api client for python

Awesome Lists containing this project

README

        

## Arikaim CMS Api Client for python
![version: 1.0.0](https://img.shields.io/github/release/arikaim/api-client-py.svg)
![license: MIT](https://img.shields.io/badge/License-MIT-blue.svg)

This repo is part of [Arikaim CMS](http://arikaim.com) project.

### Installation

```sh
pip install arikaim-client
```

### Usage

```python

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)

```