Skip to main content

a wrapper for using Hotjar APIs

Project description

Hotjar Data Wrapper

Code style: black

This is a wrapper for Hotjar APIs to let you login and download survey data and metadata for your account.

Supported APIs and docs

Get survey metadata

Login and download metadata for a specific survey.

import hotjar_data_wrapper.hotjar_api as hot

meta = hot.get_survey_metadata(survey_id=survey_id, site_id=site_id, username=username, password=password)
meta.status_code # 200
meta.content # prints content

Get survey questions

Login and download questions for a specific survey.

questions = hot.get_survey_questions(survey_id=survey_id, site_id=site_id, username=username, password=password)
questions.content 

List all surveys

Login and download list of all surveys for a given site ID.

all_surveys = hot.get_list_all_surveys(site_id=site_id, username=username, password=password)
all_surveys.content

Get all survey metadata

Login and download metadata for a list of surveys with survey IDs.

hot.get_all_surveys_metadata(
    path="data/hotjar surveys",
    surveys_list=ids,
    site_id=site_id,
    username=username,
    password=password,
)

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

hotjar-data-wrapper-0.1.5.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

hotjar_data_wrapper-0.1.5-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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