diff --git a/lib/surveymonkey/SurveyMonkeyAPI_v3.js b/lib/surveymonkey/SurveyMonkeyAPI_v3.js index dabb711..bfd54e5 100644 --- a/lib/surveymonkey/SurveyMonkeyAPI_v3.js +++ b/lib/surveymonkey/SurveyMonkeyAPI_v3.js @@ -93,14 +93,24 @@ SurveyMonkeyAPI_v3.prototype.execute = function (type, resource, method, params, /** * Retrieves a paged list of respondents for a given survey and optionally collector bulk - * - * + * + * */ SurveyMonkeyAPI_v3.prototype.getRespondentListBulk = function (params, callback) { if (typeof params === 'function') callback = params, params = {}; this.execute('GET', 'surveys', 'responses_bulk', params, callback); }; +/** + * Retrieves a paged list of respondents for a given collector and optionally collector bulk + * + * + */ +SurveyMonkeyAPI_v3.prototype.getRespondentListByCollectorBulk = function (params, callback) { + if (typeof params === 'function') callback = params, params = {}; + this.execute('GET', 'collectors', 'responses_bulk', params, callback); +}; + /** * Retrieves a paged list of respondents for a given survey and optionally collector *