Haxe node and the gmail api


Has anyone done anything with the gmail API using nodeJS? I played with it about a year ago not in haxe and got the quickstart going, but I’ve just been trying again and the code in the docs doesn’t work for node. Just wondering if anyone was authenticating with google using haxe and node? If so how?



I worked with Google API a while ago, (the Google Sheet API to be specific). I guess the authentication process should be the same across all Google API. So my experience should work for you.

Basically you need to get a token from the Google authentication endpoint and include it along with your API requests.

Awesome, thanks I’ll have a look later, I’d resorted to doing the gmail stuff on the client and passing what I needed to the server to work on, when I wanted to do everything on the server if poss and skip a step…