Last updated:
0 purchases
cockpitapi 0.3.1
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:
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.