Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new scope https://www.googleapis.com/auth/cloud-language #21

Open
MarkEdmondson1234 opened this issue Sep 19, 2017 · 4 comments

Comments

@MarkEdmondson1234
Copy link
Collaborator

https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/annotateText

@MarkEdmondson1234
Copy link
Collaborator Author

I add it, but it doesn't seem to work yet at Google's end

@MarkEdmondson1234
Copy link
Collaborator Author

Its in, but some API calls seem to still need cloud-platform

@brooklynbagel
Copy link

brooklynbagel commented Oct 19, 2018

This seems interesting, where would you suggest I get started @MarkEdmondson1234 ? I've done some work with API using httr before.

@MarkEdmondson1234
Copy link
Collaborator Author

Ah sorry I should have updated, it is in here https://github.com/ropensci/googleLanguageR/blob/master/R/auth.R but I think it wasn't working when I last tried alone with just https://www.googleapis.com/auth/cloud-language set in here https://github.com/ropensci/googleLanguageR/blob/master/R/options.R but perhaps just need to test it again.

The motive is that the broader https://www.googleapis.com/auth/cloud-platform gives access to all services and its just a good idea to restrict the API calls to just the scopes they directly need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants