HTTP API client for TypeForm
Project description
API Client for TypeForm.
At the time of writing this client TypeForm only has a data access API for fetching responses to a given form.
Getting Started
Install the module with: pip install typeform
import typeform
form = typeform.Form(api_key='<api_key>', form_id='<form_id>')
# Fetch all responses to the form with default options
responses = form.get_responses()
# Fetch responses with specific options
responses = form.get_responses(limit=10, since=1487863154)
# Print '<question>: <answer>' for all responses to this form
for response in responses:
for answer in response.answers:
print '{question}: {answer}'.format(question=answer.question, answer=answer.answer)
# Fetch a specific response
response = form.get_response('<response_token>')
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
typeform-0.1.1.tar.gz
(7.8 kB
view hashes)
Built Distributions
typeform-0.1.1-py3-none-any.whl
(11.3 kB
view hashes)
typeform-0.1.1-py2-none-any.whl
(11.3 kB
view hashes)