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

Allow for a different host #32

Closed
wants to merge 1 commit into from

Conversation

BetoFrega
Copy link

Check if path begins with "http://" or "https://" and refrain from
preppeding the default host if it does.
Changed in order to be able to use the package with Google Spreadsheets
API (that uses a different host).

Check if `path` begins with "http" or "https" and refrain from
preppeding the default host if it does.
Changed in order to be able to use the package with Google Spreadsheets
API (that uses a different host).
@danopia
Copy link

danopia commented Jan 20, 2016

Looks like this duplicates #9 but merges better.

Don't mind me just a bystander

@nicholasalanbrown
Copy link

Could we possibly merge this? Right now this package isn't usable with any of the APIs not hosted at the hardcoded path....

@danopia
Copy link

danopia commented Nov 4, 2016

Alternate hosts is super essential for a lot of the Google APIs, so this really should merge.

If you need this asap, I've been maintaining a fork at danopia:google-api. It supports a host argument eg:

  {sheets} = GoogleApi.get 'v4/spreadsheets/' + docId,
    host: 'https://sheets.googleapis.com'
    user: Meteor.users.findOne @userId

@tmeasday
Copy link
Member

tmeasday commented Nov 6, 2016

@danopia would you be interested in becoming a maintainer for this package? We aren't actively using it at the moment, would be good to get someone involved who is using it day to day.

@TusharKoul
Copy link

can this be merged please, I want to use google spreadsheets api but cant do it without this

@BetoFrega BetoFrega closed this Apr 2, 2020
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.

5 participants