pckhib / node-red-contrib-google-oauth2

Node-RED node for Google APIs using OAuth2.
MIT License
5 stars 11 forks source link

How to use this node for Google Photos APIs #4

Open janvda opened 4 years ago

janvda commented 4 years ago

This seems a very interesting node.

I would like to use the Google Photos APIs ( Google Photos APIs -REST reference) I succeeded doing the oauth2, but then it is unclear to me how I can use the API.

E.g. how I can I retrieve the list of my google photo albums ? I have found the method here but it is unclear how I can do that with the google node provided by this repository.

janvda commented 4 years ago

I did some further checking and the Google Photos API is not discoverable through: https://www.googleapis.com/discovery/v1/apis . (https://developers.google.com/discovery/v1/reference/apis/list)

... but you can find it back using https://developers.google.com/apis-explorer/ and searching on photo

Bottomline - this node is only able to support the google APIs that are discoverable through https://www.googleapis.com/discovery/v1/apis and the Google Photos API is not discoverable this way.

So this node is currently NOT supporting the google photos API.