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.9.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for agility_cms-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ecb7d904daea63cd6a790888088be802e474f6bfab48cb7c36bc1ff99e1edb |
|
MD5 | 5146cf8177e94c1cc0907491eb6c33a2 |
|
BLAKE2b-256 | c6d71699a9a0e049a84f2d3ba86026c9c5bee80243f17b1614d5c7bad359ff18 |