+ All Categories
Home > Technology > Coding Google... you can do it!

Coding Google... you can do it!

Date post: 13-Apr-2017
Category:
Upload: wesley-chun
View: 136 times
Download: 1 times
Share this document with a friend
18
Confidential & Proprietary Confidential & Proprietary Coding Google: you can do it! Accessing Google technologies outside of Google Google for Education Certified Innovator Program Jun 2016: Boulder, CO, USA +Wesley Chun, @wescpy Developer Advocate Confidential & Proprietary Outline What are Google APIs? Google Apps Script Flubaroo & GFormIt Summary
Transcript
Page 1: Coding Google... you can do it!

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

Page 2: Coding Google... you can do it!

Confidential & Proprietary

I teach

Confidential & Proprietary

I write

Page 3: Coding Google... you can do it!

Confidential & Proprietary

I code

What are Google APIs?Access Google technologies outside of Google

Page 4: Coding Google... you can do it!

Confidential & Proprietary

Confidential & Proprietary

BUT... wait, there’s more...

Page 5: Coding Google... you can do it!

Confidential & Proprietary

Confidential & Proprietary

Page 6: Coding Google... you can do it!

Confidential & Proprietary

Google Apps ScriptCode a little… do a lot!

Page 7: Coding Google... you can do it!

Confidential & Proprietary

Hello World! Ever wonder what this is for?

Confidential & Proprietary

JS

Hello World!

JS

Type in this code...

Page 8: Coding Google... you can do it!

Confidential & Proprietary

Like this...

Confidential & Proprietary

Code needs permission to access your data(!)

Page 9: Coding Google... you can do it!

Confidential & Proprietary

“Hello World”

Apps Script intro videogoo.gl/1sXeuD

Confidential & Proprietary

Page 10: Coding Google... you can do it!

Confidential & Proprietary

JS

Confidential & Proprietary

Page 11: Coding Google... you can do it!

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

Page 12: Coding Google... you can do it!

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

Page 13: Coding Google... you can do it!

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

Page 14: Coding Google... you can do it!

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.

Page 15: Coding Google... you can do it!

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

Page 16: Coding Google... you can do it!

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

Page 17: Coding Google... you can do it!

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

Page 18: Coding Google... you can do it!

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


Recommended