I've refactored the package to use request and request-promise-native which adds a lot of flexibility and makes async / await support easier. Highlights:
Added async / await support (though callbacks can still be used)
Added support for executing with CSV files using the dataFile parameter
Added methods for a number of newer API endpoint (like folders)
Thanks for all the feedback! I think I addressed everything. API key for the tests now uses an env variable and is stored in CircleCI. I cycled the key so the old one is dead.
I've refactored the package to use
request
andrequest-promise-native
which adds a lot of flexibility and makesasync
/await
support easier. Highlights:async
/await
support (though callbacks can still be used)dataFile
parameter