Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arikaim/api-client-py
- Owner: arikaim
- License: other
- Created: 2022-01-28T21:37:12.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T12:25:14.000Z (about 2 months ago)
- Last Synced: 2024-10-30T13:27:53.569Z (about 2 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
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)```