0.8.5 • Published 3 years ago

surveymonkey-typescript-sdk v0.8.5

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

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%)

  • /surveys
    • HEAD /surveys
    • OPTIONS /surveys -- API not available
    • GET /surveys
    • POST /surveys
  • /surveys/{id}
    • HEAD /surveys/{id}
    • OPTIONS /surveys/{id}
    • GET /surveys/{id}
    • PATCH /surveys/{id}
    • PUT /surveys/{id}
    • DELETE /surveys/{id}
  • /surveys/{id}/details
    • GET /surveys/{id}/details
  • /survey_categories
    • HEAD /survey_categories
    • OPTIONS /survey_categories -- API not available
    • GET /survey_categories
  • /survey_templates
    • HEAD /survey_templates
    • OPTIONS /survey_templates -- API not available
    • GET /survey_templates
  • /survey_languages
    • HEAD /survey_languages
    • OPTIONS /survey_languages -- API not available
    • GET /survey_languages
  • /surveys/{id}/pages
    • HEAD /surveys/{id}/pages
    • OPTIONS /surveys/{id}/pages -- API not available
    • GET /surveys/{id}/pages
    • POST /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}/questions
    • HEAD /surveys/{id}/pages/{id}/questions
    • OPTIONS /surveys/{id}/pages/{id}/questions -- API not available
    • GET /surveys/{id}/pages/{id}/questions
    • POST /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%)

0.8.5

3 years ago

0.8.4

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

4 years ago

0.5.2

4 years ago

0.5.0

4 years ago

0.5.1

4 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.1

4 years ago

0.4.2

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.3.2

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.3

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago