This is the 2015 edition of my Google Apps Script: The authentic{ated} playground talk most recently given to GDG Berlin (Dec. 2015).
With a pre-authenticated cloud-based ecosystem Google Apps Script makes it possible to integrate into other Google services with a couple of lines of code. This turns Google Drive into a rich playground for a wide range of solutions from custom reporting using Google Sheets as a data interface; quick hacks to get the job done; custom interfaces for Docs, Sheets and Forms; to full blown application deployment to web and mobile. In this talk the main features and affordances of Google Apps Script are highlighted, this will be followed by a deep dive into a demonstration into how Google Apps Script makes it easy to combine Google Analytics with other data sources such as Twitter and do many more playful things.
Unraveling Multimodality with Large Language Models.pdf
Google Apps Script: The authentic{ated} playground [2015 Ed.]
1. This work is licensed under a
Creative Commons
Attribution 4.0 Unported
License. CC-BY mhawksey
Google Apps Script:
+Martin Hawksey
@mhawksey
The authentic{ated} playground
http://go.alt.ac.uk/GDGBerlin-AppsScript
6. JavaScript in the cloud
Apps Script is based on JavaScript 1.6,
plus a few features from 1.7 and 1.8.
7. A brief history
2009
Scripts in Sheets
Custom functions
2010
UiApp*
Web Apps (run as
developer)
Script Gallery*
2011
Scripts in Sites
GUI Builder*
More services
2012
Standalone scripts
HTMLSerivce
ScriptDb*
Web Apps (run as user)
Libraries and versioning
Content Service
Chrome Web Store
2013
Scripts in Doc
Scripts in Forms
Auth flow
More services
2014
Add-on for Documents,
Sheets and Forms
IFRAME for HTMLService
* Denotes deprecated services/features
Adapted from Wesley Chun’s Google Apps Script
2015
Execution API
2016
???
21. “
…fetch
UrlFetchApp.fetch(url, params);
This service allows scripts to access other resources on the
web by fetching URLs. A script can use the UrlFetch service
to issue HTTP and HTTPS requests and receive responses.
The UrlFetch service uses Google's network infrastructure
for efficiency and scaling purposes.
42. “
Execution API
The Apps Script Execution API is a REST
interface that lets a third-party application call
a function defined in an Apps Script project and
receive a response. This API lets you expose
the full utility of Apps Script to any application,
including Android and iOS apps.
...can be used with Google APIs Client Libraries
43. “
Properties Service
store simple data in key-value pairs scoped to
one script, one user of a script, or one
document
getScriptProperties()
getUserProperties()
getDocumentProperties()