Cockpit CMS API Python Wrapper
Project description
Cockpit CMS API
Version: 0.3.1
Cockpit CMS API Python Wrapper
Includes standard Cockpit API Calls
API Calls:
- Get Content
- Add/Update Content
- Get Asset
- Get Image Asset
This repository is actively maintained and will continue adding more API calls
Contribution Opportunities:
- Support new API calls
Usage:
#!/usr/bin/python
# coding: utf-8
import cockpit_api
token = "<TOKEN>"
api_url = "<COCKPIT API URL>"
client = cockpit_api.Api(url=api_url, token=token)
content = client.get_content(model="<COLLECTION/SINGLETON>")
print(content)
Installation Instructions:
python -m pip install cockpit-api
Repository Owners:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file cockpit_api-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: cockpit_api-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d12ca0a298b596ee2e79647ba87e7ba11b5f9415a106e6e6827960c71280e805 |
|
MD5 | 5c7b624c2b43907a56acff2a9b28485c |
|
BLAKE2b-256 | 9b95adfada5ee172d683cb6c2abdecfbb0078c39e0703b36ddda97f8afd46e34 |