googleapis-async : an async
-await
wrapper for googleapis module.
The enhanced googleapis module that enables you to await
its methods.
Try it now!
Exampleconst google = require("googleapis-async");
async function go()
{
return await google.urlshortener("v1").url.get({
shortUrl: "https://goo.gl/xKbRu3"
});
}
go()
.then(result => {
console.log(result);
})
.catch(error => {
console.error("An error occurred: ", error);
});
Any bugs, suggestions, or questions?
If you found a bug on it, or if you want to suggest something to improve it, or if you have a question,
please leave an issue on the GitHub repository or send an e-mail to me: wlzla000@naver.com
.
Feel free to contribute!
Thank you.