A Python library for the CeForms API.
Project description
Py Ce Forms Api
Development
pip install -e .
package building
python3 setup.py sdist bdist_wheel
package publishing
python3 -m twine upload --repository dist/*
Quickstart
Introduction
The py-ce-forms-api
module allows you to interact with the CeForms API for form management. Before getting started, ensure you have obtained the necessary credentials:
- CE_FORMS_BASE_URL: The base URL for the CeForms API.
- CE_FORMS_TOKEN: Your authentication token for accessing the CeForms API.
Installation
You can install py-ce-forms-api
via pip:
pip install py-ce-forms-api
Usage
Once installed, you can start using the module in your Python code:
from py_ce_forms_api import CeFormsClient
# Initialize the client
ce_forms_client = CeFormsClient(base_url=<CE_FORMS_BASE_URL>, token=<CE_FORMS_TOKEN>)
# Example: Retrieve a list of forms
forms = ce_forms_client.query().with_sub_forms(False).with_limit(10).call()
for form in forms:
print(form)
Replace <CE_FORMS_BASE_URL> and <CE_FORMS_TOKEN> with your actual base URL and authentication token, respectively.
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
Built Distribution
File details
Details for the file py_ce_forms_api-0.0.7.tar.gz
.
File metadata
- Download URL: py_ce_forms_api-0.0.7.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e207bde235b370b20ddfc823f7d85abb75ccc4867d76bb920af429c9ba612c |
|
MD5 | 8ab7bd82c94c919c9f0f09076706bab7 |
|
BLAKE2b-256 | 70b31f2f585b128459cbaa60f430476d6559065d0438a9ad398a39981dc3a0fc |
File details
Details for the file py_ce_forms_api-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: py_ce_forms_api-0.0.7-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfb7972e4553c0bdb1db586a7967f57ca769788075a75b9ca780b42a8d350236 |
|
MD5 | 151a69b514c9edcf853cfd676f7b8c13 |
|
BLAKE2b-256 | 282114f2bf09e74d718a695f40f8b09699246c2ddcdef08e7b99dfc19ccb52f1 |