Closed BetoFrega closed 4 years ago
Looks like this duplicates #9 but merges better.
Don't mind me just a bystander
Could we possibly merge this? Right now this package isn't usable with any of the APIs not hosted at the hardcoded path....
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
@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.
can this be merged please, I want to use google spreadsheets api but cant do it without this
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).