summary: simple website communicates google spreadsheets, inconvenience of adding google spreadsheets api deployments of website (via deployhq.com) take 50 minutes when used take 30 seconds!
details:
i created simple webpage using php accepts parameters , appends new row of data google spreadsheet. getting working felt miracle because google's documentation sparse , outdated.
following example there , on google's github page, composer.json
file is:
{ "require": { "google/apiclient": "^2.0" } }
can somehow avoid requiring all of google dependencies all of php apis?
i'd love not download of irrelevant google api code has nothing google spreadsheets.
i think massive amount of files causing deployments take 50 minutes instead of 30 seconds.
my super basic webpage pretty uses google_service_sheets
class , related classes. want extraneous.
if download release of client library include core library , of dependencies, without auto-generated classes. can download sheets api generated classes separately , add them project. using composer preferred method, makes easy updates later.
p.s. - there ~4200 generated files downloaded library. that's not trivial, process takes 50 minutes copy on has room improvement.
Comments
Post a Comment