Upload
kartik-kannapur
View
562
Download
0
Embed Size (px)
DESCRIPTION
Google Apps Script is a cloud based JavaScript environment which allows you to write powerful applications and workflows around Google Apps such as Gmail, Docs, Drive, Sheets and more. The development is entirely within a browser and its free and easy to get started. Come learn all the capabilities of Google Apps Script and walk away being able to write your first script. You can find the code on Github : https://github.com/KartikKannapur/Presentation-Introduction-to-Google-Apps-Script
Citation preview
Introduction to Google Apps Script
Kartik Kannapur
What is Google Apps Script ?Google Apps Script is a JavaScript based cloud scripting language that provides easy ways to automate tasks across Google Products & third party services.
➢ Editor in the Browser
➢ JavaScript Runtime in the Cloud
➢ Don’t hate, Automate !
What can you do with Apps Script ?Google Services :
Google Apps : Calendar, Contacts, Document, Drive, Forms, Gmail, Maps
Advanced Google Services : AdSense, Analytics, BigQuery, URL Shortener, YouTube
Script Services : Base, Cache, Charts, ScriptDB, Url Fetch
Getting Started ...➢ Standalone Scripts :
https://script.google.comGoogle Drive > Create > Script
➢ Container-bound Scripts :
Google Docs, Sheets, Forms Tools > Script Editor
SitesMore > Manage Site > Apps Scripts
Our First Script
Intro to Script Editor + Demo : Hello World
Triggers Trigger is a script resource that listens for a particular event & executes a particular function when the event occurs.
It allows asynchronous execution of scripts - Automation.
Types of Events: ➢ Clock tick events➢ Spreadsheet Open / Edit events➢ Form Open / Submit events➢ Document Open Events
Let’s take it up a notch ...
Demo : Today’s Agenda
Quotas for Google ServicesApps Script services impose daily quotas.
If you exceed your quota or limitation, the script will throw an exception and terminate execution.
Use CaseGmail Meter - Crunches Data About Your Email Use
Resources➢ Google Apps Script Documentation
https://developers.google.com/apps-script/
➢ Google Developer Live ChannelGoogle Apps Unscripted
➢ Google Apps Script - Google+ Community
➢ Google Apps Developer Blog
➢ Stack Overflow