Skip to main content

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

py_ce_forms_api-0.0.7.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

py_ce_forms_api-0.0.7-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for py_ce_forms_api-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d6e207bde235b370b20ddfc823f7d85abb75ccc4867d76bb920af429c9ba612c
MD5 8ab7bd82c94c919c9f0f09076706bab7
BLAKE2b-256 70b31f2f585b128459cbaa60f430476d6559065d0438a9ad398a39981dc3a0fc

See more details on using hashes here.

File details

Details for the file py_ce_forms_api-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for py_ce_forms_api-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cfb7972e4553c0bdb1db586a7967f57ca769788075a75b9ca780b42a8d350236
MD5 151a69b514c9edcf853cfd676f7b8c13
BLAKE2b-256 282114f2bf09e74d718a695f40f8b09699246c2ddcdef08e7b99dfc19ccb52f1

See more details on using hashes here.

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