是否对节点js使用googleapis或google-cloud库 [英] Whether to use googleapis or google-cloud library for node js
问题描述
我看到有两个可用的库.我想知道有什么区别?它们都由Google正式维护吗?
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
推荐答案
是的,两者均由Google维护. googleapis涵盖了所有这些API (驱动器,日历,管理员sdk,地图等) ),而google-cloud涵盖了诸如bigquery,datastore,cloud storage,bigtable,pub/sub等云平台.很快就会在这里使用云存储和admin sdk了:)
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 :)
这篇关于是否对节点js使用googleapis或google-cloud库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!