Socket
Book a DemoInstallSign in
Socket

qualtrics-sdk-node

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qualtrics-sdk-node

Qualtrics Node SDK

4.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

Qualtrics SDK for Node

Introduction

The purpose of this library is to provide a Node client to the Qualtrics public facing API.

Getting started

Installation

  • npm install qualtrics-sdk-node

Usage

User/Token

First find your data center and API token:

  • Data center: https://api.qualtrics.com/docs/root-url#how-to-find-your-api-hostname
  • API token: https://api.qualtrics.com/docs/finding-qualtrics-ids
const QualtricsSdk = require('qualtrics-sdk-node');

const qualtrics = new QualtricsSdk({
  dataCenter: '...',
  apiToken: '...',
});

qualtrics.surveys.listSurveys()
  .then((response) => console.log(response));

OAuth

First find your data center and clientId and clientSecret:

const QualtricsSdk = require('qualtrics-sdk-node');

const qualtrics = new QualtricsSdk({
  dataCenter: '...',
  clientId: '...',
  clientSecret: '...',
});

qualtrics.surveys.listSurveys()
  .then((response) => console.log(response));

API calls are namespaced to their respective resources. User API calls can be found at qualtrics.users, Survey API calls can be found at qualtrics.surveys, etc.

However, Target Audience calls are an exception. Because some of the resource names conflict with Insight Platform calls, they have been namespaced to their sub-resources under their top-level resource, directories.

For example, Target Audience Contact API calls can be found at qualtrics.directories.contacts, Target Audience Mailing List API calls can be found at qualtrics.directories.mailingLists, etc.

Contributing

Refer to the contribution guidelines.

This project is licensed under the Apache License version 2.0. Please refer to the license for usage info.

Warning

Do not expose your API token! This project is for server-side usage only.

FAQs

Package last updated on 05 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.