Coder Social home page Coder Social logo

node-red-google-apis's People

Contributors

martip avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-red-google-apis's Issues

How to use a url parameter AND json body? (like calendar ID and a body)

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.. } }) }

Need Help with google people api error

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!

Display error

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

Credential Problem

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 :)

"TypeError: google[api.name] is not a function"

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"

image

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. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.