Google Apps Script: Accessing Google Apps & other Google services with JavaScript

Download Google Apps Script: Accessing Google Apps & other Google services with JavaScript

Post on 15-Jun-2015

193 views

Category:

Technology

4 download

Embed Size (px)

DESCRIPTION

Session deck from "Accessing Google Apps & other Google services with JavaScript" talk given on Wed, 2014 Nov 5th from Google headquarters in Mtn View, California. http://meetup.com/gdg-silicon-valley/events/207609752

TRANSCRIPT

<ul><li> 1. *RRJOH$SSV6FULSW$FFHVVLQJ*RRJOH$SSVRWKHU*RRJOHVHUYLFHVZLWK-DYD6FULSW:HVOHKXQ'HYHORSHU$GYRFDWH*RRJOH*'*6LOLFRQ9DOOH)DOORQWULEXWHTXHVWLRQVDWBJJBGMGH$ERXWWKH6SHDNHURGH</li></ul> <p> 2. $ERXWWKH6SHDNHU7HDFK$ERXWWKH6SHDNHU:ULWH 3. QWURGXFWLRQ:KDWLVLW$QRWKHU*RRJOHVHFUHW 4. )QQING#2+U%NKGPV.KDTCT[ HQT,CXC5ETKRV)QQING#RRU5ETKRV)QQING#2+U%NKGPV.KDTCT[ HQT,CXC5ETKRV)QQING#RRU5ETKRV 5. )QQING#2+U%NKGPV.KDTCT[ HQT,CXC5ETKRV)QQING#RRU5ETKRV*RRJOH$SSV6FULSW-DYD6FULSW$3,IODYRUEXLOWLQIODYRU2$XWKRX 6. 1RWVRPHWKLQJWRWDOOQHZ-61RWRXUGDGGV-DYD6FULSW 7. 1RW1RGHMVHLWKHU 8. $SSVMXVWWKHEHJLQQLQJ$SSV6FULSWSRZHUVDGGRQV(1 9. 2WKHU*RRJOHVHUYLFHV%XWZDLWWKHUHVPRUH*RRJOH$SSVVHUYLFHV$GPLQ6'.DOHQGDURQWDFWV'RFV'ULYH)RUPV*PDLO*RRJOH'RPDLQV*URXSV0DSV6LWHV6KHHWV7DVNV2WKHU*RRJOHVHUYLFHV$G6HQVH$QDOWLFV%LJ4XHU)XVLRQ7DEOHVJRRJO0LUURU*ODVV 10. 3UHGLFWLRQ7UDQVODWHRX7XEH2WKHU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