martip / node-red-google-apis Goto Github PK
View Code? Open in Web Editor NEWNode-RED node for accessing the Google APIs, using the official supported client library (google-api-nodejs-client).
Node-RED node for accessing the Google APIs, using the official supported client library (google-api-nodejs-client).
I was trying to work with google photos but is missing from the apis list. Is there a way to add it?
I am able to fetch a calender that a user shared with the service account, but can't seem to do that with resource calenders (rooms). want to try with setting setServiceAccountUser but no way to do this?
any tips?
Solved this part. Now more interested in how to url parameter + json body with this package, like example below or this other example from this post:
function freeBusyStatus (auth, calendarId) { const check = { auth: auth, resource: { timeMin: startDate, timeMax: endDate, items: [{id: calendarId}] } } const startDate = new Date('20 February 2018 12:00').toISOString() const endDate = new Date('20 February 2018 13:00').toISOString() calendar.freebusy.query (check, function (err, response) { if (err) { console.log ('error: ' + err) } else { ..some code.. } }) }
Hi,
I want to translate a telephone number to a name from my google contacts.
My function node:
msg.payload = {
"query": "schwett",
"readMask": "names"
};
return msg;
My "google apis" node:
API: people:v1
Method: people.searchContacts
Under Auth I put my JSON key.
Under Scopes I put all I found under the screen before.
When I inject it, I get a yellow success:
[123,125,10]
Has anyone an idea?
Thanks!
Hi Paolo,
Thank you for making this node.
It could help us a lot connecting some Google products. I was thinking about creating users from a list in a spreadsheet.
I only get an error "Error: [object Object]"
Is there a way to display the error?
The Gsheet node works for us with the samen json key. But maybe I'm doing something wrong.
Thanks in advance,
Tom
Hi,
I had no issue using the node for API call using Google API V3.
My problem is related to a security issue.
Since our node red project is going to be shared with other people, I would like to use a process variable loaded dinamically to get credential information for Google API.
As far as I have investigated, right now is not possible doing that because you can only put the JSON file in the configuration node.
Are you planning to make it possible?
Am I missing something to make it work correctly?
Let me know if I didn't explain well.
Nice job, btw :)
Hello,
I really like the Node. but on selecting (dynamic) msg.api in API and method as (dynamic) msg.method. It always gives error :
"TypeError: google[api.name] is not a function"
Can any one tell me what this error is occurring.
On the other hand if I select any API endpoint. It gives error.
msg : Object
{ empty }
Any kind of help will be appreciated. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.