Date post: | 13-Apr-2017 |
Category: |
Technology |
Upload: | wesley-chun |
View: | 136 times |
Download: | 1 times |
Confidential & ProprietaryConfidential & Proprietary
Coding Google: you can do it!Accessing Google technologies outside of Google
Google for EducationCertified Innovator ProgramJun 2016: Boulder, CO, USA
+Wesley Chun, @wescpyDeveloper Advocate
Confidential & Proprietary
Outline
● What are Google APIs?● Google Apps Script● Flubaroo & GFormIt● Summary
Confidential & Proprietary
I teach
Confidential & Proprietary
I write
Confidential & Proprietary
I code
What are Google APIs?Access Google technologies outside of Google
Confidential & Proprietary
Confidential & Proprietary
BUT... wait, there’s more...
Confidential & Proprietary
Confidential & Proprietary
Confidential & Proprietary
Google Apps ScriptCode a little… do a lot!
Confidential & Proprietary
Hello World! Ever wonder what this is for?
Confidential & Proprietary
JS
Hello World!
JS
Type in this code...
Confidential & Proprietary
Like this...
Confidential & Proprietary
Code needs permission to access your data(!)
Confidential & Proprietary
“Hello World”
Apps Script intro videogoo.gl/1sXeuD
Confidential & Proprietary
Confidential & Proprietary
JS
Confidential & Proprietary
Confidential & Proprietary
JS
Confidential & Proprietary
Many types of mail merge
● Define a simple template using a draft email, document, sites page, or spreadsheet cell
● Add placeholder values that should be dynamically replaced● Each spreadsheet row merged with template and sent out
Confidential & Proprietary
Vacation calendar for Brown University
● Aggregates together all the staff that are on vacation that day● Creates a single calendar event each day which lists everyone
that is out● Makes it easier to read your calendar
Confidential & Proprietary
GFormIt & Flubaroo teachers’ tools
● Automatically creates exams/quizzes from questions in Google Docs● Auto-submission as grading key if answers provided with questions
● Auto-grading of results in a Sheet against answer key● Emails results & answers to students plus charts to analyze results
Flubaroo & GFormItApps Script-based teacher tools!
Confidential & Proprietary
Flubaroo
Popular Google Sheets add-on
● Created by part-time community college teacher● Who also happens to be a Googler● Much more information at flubaroo.com● Open-sourced at edcode.org
● 120k installs of the Add-on to date (new Google sheets)● Over 10,000 thirty-day active users● 130k unique assignments graded / month
Confidential & Proprietary
Flubaroo
What it does
● Grade submissions to a quiz (already submitted)
● Analyze results
● Email grades
Confidential & Proprietary
Leads to GFormIt
"Prequel" script for Flubaroo.
Motivation:
● Grading exams. DONE.● Creating exams? TBD.
Confidential & Proprietary
Create a “quiz” in a Google DocOne question per line, optionally an answer on very next line
Confidential & Proprietary
Ask GFormIt to generate a Google FormAdd the Add-on, then select “Generate Form” from the menu
Confidential & Proprietary
Google Form automagically created for youGFormIt creates a Form (and more) based on your Docs content
Confidential & Proprietary
”More” == Google Sheet for responsesBonus for teachers:
GFormIt submits your answers making it Flubaroo-ready
Confidential & ProprietaryConfidential & Proprietary
DEMO
Confidential & Proprietary
Reference● Video Resources○ GOOGLE APPS SCRIPT■ goo.gl/1sXeuD (Apps Script intro with Sheets)■ goo.gl/oAzBN9 (Talk to Google Maps & Gmail)■ goo.gl/YuwZ0E (Talk to YouTube)■ goo.gl/xSzGl4 (Autogenerating Google Forms)■ TBD (Maps *and* driving directions!)■ TBD (Google Docs & Google Translate)
○ OTHER DEVELOPER VIDEOS■ goo.gl/kFMUa6■ youtube.com/GoogleDevelopers
Confidential & Proprietary
Summary● We’ve created great tech but can’t build everything(!)● APIs: our tech available for YOUR apps; more coming...● Our best kept secret: Google Apps Script○ Learn simple JavaScript, get keys to car :-)○ Convenient access to Google Apps data & other Google+external services
● Apps Script-based teacher tools: Flubaroo and GFormIt○ Roll your own!
● Build the next great thing & empower the next generation!
Confidential & Proprietary
Thank you! Questions?
+Wesley Chungoogle.com/+WesleyChun
@wescpytwitter.com/wescpy
slide deckgoo.gl/JVRU8R