МЗ
const { google} = require('googleapis');
const apis = google.getSupportedAPIs();
console.log(apis);
Size: a a a
МЗ
const { google} = require('googleapis');
const apis = google.getSupportedAPIs();
console.log(apis);
R
R
google.drive
, пробую теперь подключить docs - пишу google.docs
- и не работает. Можете проверитьR
МЗ
R
getApiInstance(name, version = 'v1') {
if (!this._instances[name]) {
this._instances[name] = google[name]({
auth: this.auth,
version
});
}
return this._instances[name];
}
get drive() {
return this.getApiInstance('drive', 'v3');
}
get docs() {
return this.getApiInstance('docs', 'v1');
}
МЗ
getApiInstance(name, version = 'v1') {
if (!this._instances[name]) {
this._instances[name] = google[name]({
auth: this.auth,
version
});
}
return this._instances[name];
}
get drive() {
return this.getApiInstance('drive', 'v3');
}
get docs() {
return this.getApiInstance('docs', 'v1');
}
R
МЗ
R
МЗ
KD
KD
NL
KD
KD
KD
NL
NL
NL