Skip to main content

A Python API wrapper for Jotform, with additional endpoints.

Project description

Unofficial Jotform API Extended Python Client

This is an unofficial API wrapper for Jotform in Python that includes additional endpoints and documentation.

Information

The official documentation can be found here: Jotform API Documentation

Additional documentation for the different endpoints are included in the docstrings of each function.

API coverage:

Endpoints Jotform API Extended
User ✔️ ✔️
Form ✔️ ✔️
Form Questions ✔️ ✔️
Form Properties ✔️ ✔️
Form Submissions ✔️ ✔️
Form Webhooks ✔️ ✔️
Form Reports ✔️ ✔️
Submission ✔️ ✔️
Report ✔️ ✔️
Folder ✔️ ✔️
System ✔️ ✔️
Teams ✔️
Apps ✔️
Form Archive ✔️
Submission Threads ✔️
Start Workflow ✔️
PDFs ✔️
AI Agents ✔️
SMTP ✔️

Installing

You can install the extended client using:

  $ pip install jotform-extended

Authentication

The Jotform API requires a Jotform API key. If you don't have one, you can follow this guide to create one.

Usage examples

Get user details:

from jotformextended import JotformExtendedClient

jotform_api_key = "your_api_key"

jf = JotformExtendedClient(api_key=jotform_api_key)
user_details = jf.get_user()
print(user_details)

Get form details:

from jotformextended import JotformExtendedClient

jotform_api_key = "your_api_key"
form_id = "your_form_id"

jf = JotformExtendedClient(api_key=jotform_api_key)
form_details = jf.get_form(form_id=form_id)
print(form_details)

Create a form:

from jotformextended import JotformExtendedClient

jotform_api_key = "your_api_key"
form_details = {
    "properties[title]": "Form Title",
    "questions[0][type]": "control_head",
    "questions[0][text]": "Form Header",
    "questions[0][order]": "1",
    "questions[1][type]": "control_textbox",
    "questions[1][text]": "Text Box Label",
    "questions[1][order]": "2",
    "questions[1][required]": "Yes",
    "questions[1][readonly]": "No",
    "emails[0][type]": "notification",
    "emails[0][name]": "Notification 1",
    "emails[0][from]": "default",
    "emails[0][to]": "example@example.com",
    "emails[0][subject]": "New Submission Received",
}

jf = JotformExtendedClient(api_key=jotform_api_key)
response = jf.create_form(form=form_details)
print(f"Form ID: {response['content']['id']}")
print(f"Form URL: {response['content']['url']}")

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

jotform_extended-0.1.4.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jotform_extended-0.1.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file jotform_extended-0.1.4.tar.gz.

File metadata

  • Download URL: jotform_extended-0.1.4.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for jotform_extended-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c00d467b4c658d24d16b3c79cece18b26cf14af9fabfd4be287a9a1512da5076
MD5 0f947e2fdc1b3504022242c761fc7907
BLAKE2b-256 545e5ac6e7eec39d3cb2138511ab8ae59054d3cdc5cefa22481587d3f25e8744

See more details on using hashes here.

File details

Details for the file jotform_extended-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for jotform_extended-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9b1a8bbe50cc65243159f04a50feba2b3f9d12dc72eff95aba86d0946033c5ba
MD5 33836a9f07accf7a7f06d5560bf84879
BLAKE2b-256 08dbce19f8145744289158dfeed5658a61a3bf1ec344cf53dd5dfa4575e1cb81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page