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

Google Classroom #34

Open
merlinstardust opened this issue Jan 25, 2016 · 1 comment
Open

Google Classroom #34

merlinstardust opened this issue Jan 25, 2016 · 1 comment

Comments

@merlinstardust
Copy link

I'd like to reopen #28. While I found a solution by changing the _host variable in a Meteor.startup call, it feels wrong to me. I think it'd be great if there was an option to configure if you're using Classroom or not. So on each call, you could have GoogleApi.get('some/endpoint', {isClassroomCall: true}). And if people wanted, they could set that as the default in a Meteor.startup call.

Alternatively, it could made to be like Google's node library where you can call google.classroom or google.drive. I believe this would require some abstraction and then simply creating a lengthy list of google.x._endpoint = '/x';. That does seem somewhat cumbersome, and is probably why you didn't do it that way, but it would make things a little nicer for those developing with the package.

@allenfuller
Copy link

I'm running into the same issue using Google Contacts API, which is based on https://www.google.com.

One suggested solution would be to just remove the base URL and have the user enter the whole base URL, as you would with the HTTP package.

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

No branches or pull requests

2 participants