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
Initialization
import Client from agility_cms
client = Client(
'<your guid>',
'<your api key>',
locale="en-us",
preview=True,
url="api.aglty.io"
)
Required Arguments
- guid (str)
- api_key (str)
Optional Arguments
- locale (str)
- preview (bool)
- url (str)
Gallery
client.gallery('<gallery id>')
Required Arguments
- gallery_id (int)
Item
client.item(
'<item id>',
content_link_depth=1,
expand_all_content_links=False
)
Required Arguments
- item_id (int)
Optional Arguments
- content_link_depth (int)
- expand_all_content_links (bool)
List
client.list(
'<reference name>',
fields="",
take=10,
skip=0,
filter_="",
sort="",
direction='asc',
content_link_depth=1,
expand_all_content_links=False
)
Required Arguments
- reference_name (str)
Optional Arguments
- fields (str)
- take (int)
- skip (int)
- filter (str)
- sort (str)
- direction (str)
- content_link_depth (int)
- expand_all_content_links (bool)
Page
client.page(
'<page id>',
content_link_depth=2,
expand_all_content_links=False
)
Required Arguments
- page_id (int)
Optional Arguments
- content_link_depth (int)
- expand_all_content_links (bool)
Sitemap
client.sitemap('<channel name>', nested=False)
Required Arguments
- channel_name (str)
Optional Arguments
- nested (bool)
Sync Items
client.sync_items(sync_token=0, page_size=500)
Optional Arguments
- sync_token (int)
- page_size (int)
Sync Pages
client.sync_pages(sync_token=0, page_size=500)
Optional Arguments
- sync_token (int)
- page_size (int)
Url Redirections
client.url_redirections(last_access_date="")
Optional Arguments
- last_access_date (str)
Metadata
Release files for agility-cms 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| agility-cms-0.1.0.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agility_cms-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / agility-cms-0.1.0.tar.gz
| Download URL | agility-cms-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47c6917bd4ba77b71e949aa43813e44a003e710671f65f4d5c870663348a753f
|
|
BLAKE2b-256 checksum How to use checksums |
1aa3dd532245c8445a549e2d7266abaf6ed64ec244e929d8b08c6f41e157cefb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / agility_cms-0.1.0-py3-none-any.whl
| Download URL | agility_cms-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11a0dfcf0eab65462fa00d55db3acb94e0e8a7768a4f5932f513502e70662553
|
|
BLAKE2b-256 checksum How to use checksums |
57f7a03b10eafd40b1f7e57331a44346e039b910a75af76bbed5a2da460945b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for agility-cms 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.