Skip to main content

Cockpit CMS API Python Wrapper

Project description

Cockpit CMS API

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 0.2.0

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:

GitHub followers GitHub User's stars

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

cockpit_api-0.2.0-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cockpit_api-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cockpit_api-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 34bb5df7198e4e4dac1b0aa4ca4c10fd92d11a2f519245c0795f2e5668812eb2
MD5 a519e7ed82d300bcb9b587fc3ccbaa21
BLAKE2b-256 035c730224b4fbb1a413e5d7a7b0015df2ae9574c2eb2c83c34ccf54ffe21523

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page