0.8.5 • Published 5 years ago
surveymonkey-typescript-sdk v0.8.5
SurveyMonkey TypeScript SDK
Usage
import {SurveymonkeyConfig, SurveymonkeyApi} from 'surveymonkey-typescript-sdk';
const token: string = 'YOUR_SURVEYMONKEY_TOKEN';
const config: SurveymonkeyConfig = {token};
const api = new SurveymonkeyApi(config);
async function main(): Promise<void> {
const {data} = await api.survey.getSurveyList();
for (const survey of data) {
console.log(survey);
}
process.exit(0);
}
main();Endpoints coverage
- Overall coverage:
26/56 (46%)
Surveys, Pages, and Questions
Coverage: 22/40 (55%)
/surveysHEAD /surveysOPTIONS /surveys-- API not availableGET /surveysPOST /surveys
/surveys/{id}HEAD /surveys/{id}OPTIONS /surveys/{id}GET /surveys/{id}PATCH /surveys/{id}PUT /surveys/{id}DELETE /surveys/{id}
/surveys/{id}/detailsGET /surveys/{id}/details
/survey_categoriesHEAD /survey_categoriesOPTIONS /survey_categories-- API not availableGET /survey_categories
/survey_templatesHEAD /survey_templatesOPTIONS /survey_templates-- API not availableGET /survey_templates
/survey_languagesHEAD /survey_languagesOPTIONS /survey_languages-- API not availableGET /survey_languages
/surveys/{id}/pagesHEAD /surveys/{id}/pagesOPTIONS /surveys/{id}/pages-- API not availableGET /surveys/{id}/pagesPOST /surveys/{id}/pages
/surveys/{id}/pages/{id}HEAD /surveys/{id}/pages/{id}OPTIONS /surveys/{id}/pages/{id}GET /surveys/{id}/pages/{id}PATCH /surveys/{id}/pages/{id}PUT /surveys/{id}/pages/{id}DELETE /surveys/{id}/pages/{id}
/surveys/{id}/pages/{id}/questionsHEAD /surveys/{id}/pages/{id}/questionsOPTIONS /surveys/{id}/pages/{id}/questions-- API not availableGET /surveys/{id}/pages/{id}/questionsPOST /surveys/{id}/pages/{id}/questions
/surveys/{id}/pages/{id}/questions/{id}HEAD /surveys/{id}/pages/{id}/questions/{id}OPTIONS /surveys/{id}/pages/{id}/questions/{id}GET /surveys/{id}/pages/{id}/questions/{id}PATCH /surveys/{id}/pages/{id}/questions/{id}PUT /surveys/{id}/pages/{id}/questions/{id}DELETE /surveys/{id}/pages/{id}/questions/{id}
Survey Responses
Coverage: 4/16 (25%)
/surveys/{id}/responsesGET /surveys/{id}/responses
/collectors/{id}/responsesHEAD /collectors/{id}/responsesOPTIONS /collectors/{id}/responsesGET /collectors/{id}/responsesPOST /collectors/{id}/responsesDELETE /collectors/{id}/responses
/surveys/{id}/responses/bulkGET /surveys/{id}/responses/bulk
/collectors/{id}/responses/bulkGET /collectors/{id}/responses/bulk
/surveys/{id}/responses/{id}HEAD /surveys/{id}/responses/{id}OPTIONS /surveys/{id}/responses/{id}GET /surveys/{id}/responses/{id}PATCH /surveys/{id}/responses/{id}PUT /surveys/{id}/responses/{id}DELETE /surveys/{id}/responses/{id}
/surveys/{id}/responses/{id}/detailsGET /surveys/{id}/responses/{id}/details
/collectors/{id}/responses/{id}/detailsGET /collectors/{id}/responses/{id}/details
0.8.5
5 years ago
0.8.4
5 years ago
0.8.3
5 years ago
0.8.2
5 years ago
0.8.1
5 years ago
0.8.0
5 years ago
0.7.0
5 years ago
0.6.0
5 years ago
0.5.2
6 years ago
0.5.0
6 years ago
0.5.1
6 years ago
0.4.9
6 years ago
0.4.8
6 years ago
0.4.5
6 years ago
0.4.4
6 years ago
0.4.3
6 years ago
0.4.1
6 years ago
0.4.2
6 years ago
0.3.0
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.3.2
6 years ago
0.4.0
6 years ago
0.3.1
6 years ago
0.3.3
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago