Skip to main content

zerionPy

zerionPy is an easy-to-use API wrapper for Zerion Software's iFormBuilder. The goal of this project--along with its sister JavaScript-based library zerionJS--is to get you working with the iFormBuilder API in minutes instead of hours or days. The library takes care of all access token management; all you need to do is supply valid credentials and the library will request and renew access tokens for the duration of its execution.

Getting Started

To begin, install the module.

pip install zerionPy

After the module is installed, import it using the following command in your Python file:

from zerionPy import IFB

With the module imported, create an API connection with the following line:

api = IFB(SERVER, REGION, CLIENT_KEY, CLIENT_SECRET, VERSION)

The five parameters listed above are required for every API connection. Below are a list of accepted values for version and region.

Parameter Values
VERSION 6, 8, 8.1
REGION us, uk, au, hipaa, qa

In addition to these five required parameters, the following optional attributes may be configured in a params object. Below is a list of possible options.

Name Values Description
simple_response true/false when enabled, API calls will return only the response body
skip_rate_limit_retry true/false when enabled, 429 status codes will be returned instead of automatically retried

Making API Calls

This library is designed to make working with Zerion APIs as easy as possible. Each available command/resource combination is available as a distinct method. Methods are named with the following convention: commandResourceName. For example, a GET request to the profiles resource is named getProfiles().

Additionally, each method is defined to accept the necessary parameters to properly execute. For example, a GET request to the /records resource will require a profile id as well as page id. A corresponding function call may look like: api.getRecords(12345, 67890) where 12345 is the profile id and 67890 is the page id.

Querying a specific resource by ID will generally be done by the singular noun of the resource. For example, a GET request to the /records resource with id 1 would be named getRecord() and the function call could look something like: api.getRecord(12345, 67890, 1).

For a full list of API commands, refer to the official iForm API documentation here

How to Contribute

This library is a work in progress. As Zerion APIs are released, this library will be updated. Additionally, functionalities such as additional safeguards for erroneous function calls and improper parameter values may be added in the future. If you have a suggestion or run into any problems, please submit an Issue.

Change Log

  • February 1, 2023 (v1.1.3)
    • Added support for sandbox region
  • January 31, 2023 (v1.1.2)
    • added support for ZIM/User Management api apps
  • October 5, 2022 (v1.1.1)
    • fixed parameter list for copyPage()
  • July 15, 2022 (v1.1.0)
    • Added str, repr, and iter to ifbResponse class
  • June 18, 2022 (v1.0.0)
    • Initial Release

Metadata

Release files for zerionPy 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zerionPy 1.1.3
File Size Uploaded Provenance
zerionPy-1.1.3.tar.gz 9.3 kB Without provenance Details

Release files / zerionPy-1.1.3.tar.gz

Download URL zerionPy-1.1.3.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4036a39f7938b0826a364e403cb2d6181a84bc2ca1033f0e208bd71e5e950d88
BLAKE2b-256 checksum
How to use checksums
3a3e4c8cac38673189cadc936f0c8df3806e3e9e59c91aa0874f6a541466b59f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Security for zerionPy 1.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page