Skip to main content

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.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distributions

typeform-0.1.0-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

typeform-0.1.0-py2-none-any.whl (11.0 kB view hashes)

Uploaded Python 2

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