Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Responses #10

Open
mrjonny2 opened this issue Apr 27, 2017 · 1 comment
Open

Get Responses #10

mrjonny2 opened this issue Apr 27, 2017 · 1 comment

Comments

@mrjonny2
Copy link

What code would I need to use to pull responses? I keep getting 404 errors

@opyate
Copy link

opyate commented Jul 5, 2018

const SurveyMonkeyAPI = require('surveymonkey').SurveyMonkeyAPI
const api = new SurveyMonkeyAPI('your-access-token')
api.getRespondentListBulk({id: 123}, (error, data) => {
  if (error) {
    console.error(error)
  }
  console.log(data)
})

If you want the responses by collector instead of survey, see #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants