Socket
Socket
Sign inDemoInstall

survey-monkey

Package Overview
Dependencies
79
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    survey-monkey

Survey monkey API v3 wrapper


Version published
Weekly downloads
16
decreased by-46.67%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 09 Jun 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc