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

Different host for some APIs #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gwendall
Copy link

Some APIs (like Contacts for instance - https://developers.google.com/google-apps/contacts/v3/reference#Feeds) use a different _host than googleapis.com. We should be able to set it through options.

@danopia
Copy link

danopia commented Sep 28, 2015

I'm in need of this, doesn't seem like an uncommon usecase - #7 apparently was struggling with it

Included in danopia:google-api for those in need

@merlinstardust
Copy link

merlinstardust commented Mar 21, 2017

This is also needed for Classroom.

A workaround is to add a line similar to this in your app
GoogleApi._host = 'https://classroom.googleapis.com';

@StorytellerCZ StorytellerCZ linked an issue Jun 15, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Example
3 participants