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)
Built Distribution
Close
Hashes for agility_cms-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579dd1bae9a4b9f6741dd5b3b24cad691d834a2613db0e604d190d45b718ae2f |
|
MD5 | ae2bc8114214525f313c2b5b3ba6d6b1 |
|
BLAKE2b-256 | 885378a14f4d0183717953d73882221ae631de1f071820fd7dfd929a9c49b7cb |