Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

survey-monkey

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

survey-monkey

Survey monkey API v3 wrapper

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
decreased by-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

SurvayMonkeyAPI

A NPM package for the SurveyMonkey API

Further information on the SurveyMonkey API and its features is available at https://developer.surveymonkey.com

Installation

Installing using npm (node package manager):

npm install survey-monkey

Usage

Information on how to use the SurveyMonkey APIs can be found below. Further information on the API methods available can be found at https://developer.surveymonkey.com. You can also find further information on how to obtain an OAuth2 access token in your SurveyMonkey account and much more on the SurveyMonkey API pages.

SurveyMonkey API

Example:

var SurveyMonkeyAPI = require('survey-monkey');

var accessToken = 'Your SurveyMonkey App Access Token';

try {
    var api = new SurveyMonkeyAPI(accessToken);
} catch (err) {
    console.log(err.message);
}

api.getSurveyList()
    .then(data => console.log(data))
    .catch(err => console.error(err))

api.getSurveyDetails(113260729)
    .then(data => console.log(data))
    .catch(err => console.error(err))

Methods:

  • getSurveyList(query)
  • getSurvey(surveyId)
  • getSurveyDetails(surveyId)
  • getSurveyCategories()
  • getSurveyTemplates()
  • getSurveyPages(surveyId)
  • getSurveyPage(surveyId, pageId)
  • getSurveyPageQuestions(surveyId, pageId, questionId)
  • getSurveyPageQuestion(surveyId, pageId)
  • getSurvayResponses(surveyId)
  • getSurvayResponse(surveyId, responseId)
  • getSurvayResponseDetails(surveyId, responseId)
  • getSurvayResponsesBulk(surveyId)
  • getCollectorResponses(collectorId)
  • getCollectorResponse(collectorId, responseId)
  • getCollectorResponseDetails(collectorId, responseId)
  • getCollectorResponsesBulk(collectorId)

License

survey-monkey is licensed under the MIT License. (See LICENSE)

FAQs

Package last updated on 09 Jun 2017

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc