Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Whether to use googleapis or google-cloud library for node js

I see there are two available libraries. I am wondering what are the differences? Are they both officially maintained by Google?

https://www.npmjs.com/package/googleapis

https://www.npmjs.com/package/google-cloud

like image 839
user699681 Avatar asked Mar 17 '17 19:03

user699681


People also ask

Does Google Cloud support Nodejs?

Google Cloud lets you choose the best environment to run your Node. js applications, with options for serverless, Kubernetes, VMs, or custom hardware.

What is the use of Googleapis?

Google Cloud APIs are programmatic interfaces to Google Cloud Platform services. They are a key part of Google Cloud Platform, allowing you to easily add the power of everything from computing to networking to storage to machine-learning-based data analysis to your applications.


1 Answers

Yes both are maintained by Google. googleapis covers all these APIs (drive, calendar, admin sdk, maps, etc) whereas google-cloud covers the cloud platform stuff like bigquery, datastore, cloud storage, bigtable, pub/sub, etc. There appears to be overlap and I don't know which one is better for a particular service. Will be playing with cloud storage and admin sdk here soon though :)

like image 103
Michael Avatar answered Sep 23 '22 02:09

Michael