Skip to main content

Python SDK for Agility CMS

Project description

Agility CMS Python SDK

This package is a Python library for calling the Agility CMS Rest API.

Installation

Use the package manager pip to install agility-cms.

pip install agility-cms

Usage

import agility_cms

client = agility_cms.Client('<your guid>', '<your api key>', locale="en-us", preview=True)

client.gallery('<gallery id>')
client.item('<item id>', content_link_depth=1, expand_all_content_links=False)
client.list('<reference name>', fields=str(), take=10, skip=int(), filter_=str(), sort=str(), direction='asc', content_link_depth=1, expand_all_content_links=False)
client.page('<page id>', content_link_depth=2, expand_all_content_links=False)
client.sitemap('<channel name>', nested=False)
client.sync_items(sync_token=int(), page_size=500)
client.sync_pages(sync_token=int(), page_size=500)
client.url_redirections(last_access_date=str())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agility-cms-0.0.7.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

agility_cms-0.0.7-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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