Skip to content

Different host for some APIs#9

Open
gwendall wants to merge 2 commits intopercolatestudio:masterfrom
gwendall:master
Open

Different host for some APIs#9
gwendall wants to merge 2 commits intopercolatestudio:masterfrom
gwendall:master

Conversation

@gwendall
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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