lirantal / typeform-client Goto Github PK
View Code? Open in Web Editor NEWA friendlier Typeform Node.js API client
License: Apache License 2.0
A friendlier Typeform Node.js API client
License: Apache License 2.0
Hello @lirantal
I'd like to let you know that the official Typeform Node.js API client now supports automatic pagination since October 2023. It fetches at the rate of 2 requests per second to adhere to rate limit policy.
If you would like to see any additional features implemented in the library, I am open to conversation.
Cheers 👋
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Right now the metadata object doesn't include information about how many survey respondents were in each question.
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Add support for short_text like the “your name” or “your email” to also get included in all the results in the excel
Using the sample code in the readme to fetch a form, I'm getting:
(node:23596) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'token' of undefined
at Form._fetchResponses (~/node_modules/@lirantal/typeform-client/src/Form/Form.js:95:31)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Form.fetchFormResponses ~/node_modules/@lirantal/typeform-client/src/Form/Form.js:118:51)
at async ~/test.js:16:14
The error comes from this line in the node module:
if (apiResult.page_count === 1) {
break
} else {
const len = apiResult.items.length
const lastItem = apiResult.items[len - 1]
tokenValue = lastItem.token
}
Might need a more defensive fix?
For reference, my form has 6 questions and no responses.
Add a fix to the opinion_scale to remove the 11th option when there are 0 to 10 including 0 (starting from zero is true)
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Opinion scale - add average and median stats
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.