This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
jotform-api-python
===============
[JotForm API](http://api.jotform.com/docs/) - Python Client


### Installation

Install via git clone:

$ git clone git://github.com/jotform/jotform-api-python.git
$ cd jotform-api-python

Install via pip:

$ pip install git+git://github.com/jotform/jotform-api-python.git

### Documentation

You can find the docs for the API of this client at [http://api.jotform.com/docs/](http://api.jotform.com/docs)

### Authentication

JotForm API requires API key for all user related calls. You can create your API Keys at [API section](http://www.jotform.com/myaccount/api) of My Account page.

### Examples

Print all forms of the user

```python
from jotform import *

def main():

jotformAPIClient = JotformAPIClient('YOUR API KEY')

forms = jotformAPIClient.get_forms()

for form in forms:
print form["title"]

if __name__ == "__main__":
main()
```

Get submissions of the latest form

```python
from jotform import *

def main():

jotformAPIClient = JotformAPIClient('YOUR API KEY')

forms = jotformAPIClient.get_forms(None, 1, None, None)

latestForm = forms[0]

latestFormID = latestForm["id"]

submissions = jotformAPIClient.get_form_submissions(latestFormID)

print submissions

if __name__ == "__main__":
main()
```

Get latest 100 submissions ordered by creation date

```python
from jotform import *

def main():

jotformAPIClient = JotformAPIClient('YOUR API KEY')

submissions = jotformAPIClient.get_submissions(0, 100, None, "created_at")

print submissions

if __name__ == "__main__":
main()
```

Submission and form filter examples

```python
from jotform import *

def main():

jotformAPIClient = JotformAPIClient('YOUR API KEY')

submission_filter = {"id:gt":"FORM ID", "created_at": "DATE"}

submission = jotformAPIClient.get_submissions(0, 0, submission_filter, "")
print submission

form_filter = {"id:gt": "FORM ID"}

forms = jotformAPIClient.get_forms(0,0, form_filter, "")
print forms

if __name__ == "__main__":
main()
```

Delete last 50 submissions

```python
from jotform import *

def main():

jotformAPIClient = JotformAPIClient('YOUR API KEY')

submissions = jotformAPIClient.get_submissions(0, 50, None, None)

for submission in submissions:
result = jotformAPIClient.delete_submission(submission["id"])
print result

if __name__ == "__main__":
main()
```

First the _JotformAPIClient_ class is included from the _jotform-api-python/jotForm.py_ file. This class provides access to JotForm's API. You have to create an API client instance with your API key.
In case of an exception (wrong authentication etc.), you can catch it or let it fail with a fatal error.


Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jotform-1.0.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Jul 16, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting