Skip to content

Allow for a different host - #32

Closed
BetoFrega wants to merge 1 commit into
percolatestudio:masterfrom
BetoFrega:master
Closed

Allow for a different host#32
BetoFrega wants to merge 1 commit into
percolatestudio:masterfrom
BetoFrega:master

Conversation

@BetoFrega

Copy link
Copy Markdown

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

danopia commented Jan 20, 2016

Copy link
Copy Markdown

Looks like this duplicates #9 but merges better.

Don't mind me just a bystander

@nicholasalanbrown

Copy link
Copy Markdown

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

@danopia

danopia commented Nov 4, 2016

Copy link
Copy Markdown

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

tmeasday commented Nov 6, 2016

Copy link
Copy Markdown
Member

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

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