DeepAgent

Typeform

Readonly Typeform API client for fetching form insights and responses.

  • package: @deepagent/typeform
  • exports: class TypeformClient, namespace typeform
  • env vars: TYPEFORM_API_KEY
  • source
  • typeform api docs

Install

npm install @deepagent/typeform
yarn add @deepagent/typeform
pnpm add @deepagent/typeform

Usage

import { TypeformClient } from '@deepagent/typeform'

const typeform = new TypeformClient()

const responses = await typeform.getResponsesForForm({
  formId: 'TODO'
})

const insights = await typeform.getInsightsForForm({
  formId: 'TODO'
})

On this page