Introduction to
                      Google Drive
                           API

                           Jomar Tigcal
                         GDG Philippines

Google Apps Developer Challenge Workshop/Hackaton
                  July 6-7, 2012
Jomar Tigcal
● Community Manager of GDG Philippines
● Mobile Apps Developer (Software Engineer)
  at Stratpoint Technologies, Inc.


                       http://jomar.tigcal.com
                                +Jomar Tigcal
                                 @jomartigcal
What is Google Drive?
● Create and collaborate.
  ○ Google Docs (Documents, spreadsheets and
     presentations.)
  ○ Share content, comments and receive notifications
● Store everything safely and access it anywhere
  ○ http://drive.google.com
  ○ Drive Android App
  ○ Mac and PC apps
● Search
  ○ Optical Character Recognition (OCR)
Google Drive API
* Chrome Web Store

The app must be installed from the Chrome
Web Store to be able to access the APIs.
How Google Drive Apps Work
● Install the app via Chrome Web Store
How Google Drive Apps Work
● Authorize access
How Google Drive Apps Work
● Acessing files
  ○ Files created by your app
  ○ Files opened using your app
● Create/open files from Google Drive
● Open a file from your app
How Google Drive Apps Work
● Opening a file in Google Drive
How Google Drive Apps Work
● Creating a file from Google Drive
How Google Drive Apps Work
● Opening a file from your app
Developing Google Drive
         Apps
Register the app
● Go to Google APIs console (http://code.
  google.com/apis/console)
● Create an API Project
● Select Services
● Turn on Drive API and Drive SDK
● Create OAuth 2.0 Client ID
● Provide developer info, icon and other
  details
Create a Chrome Web Store Listing
● Go to the Chrome Web Store Developer
  Dashboard (https://chrome.google.
  com/webstore/developer/dashboard)
● Create a new listing
● Modify the listing for Google Drive
● Publish to TEST ACCOUNTS
Example
URL: http://drive.jomartigcal.appspot.com

Java Code:
https://github.com/jomartigcal/google-drive-api-
java-sample
Resources
Documentation:
https://developers.google.com/drive

API Reference: https://developers.google.
com/drive/v1/reference/

SDK Downloads: https://developers.google.
com/drive/downloads
Resources
Stack Overflow:
http://stackoverflow.com/questions/tagged/google-
drive-sdk
Support Page (Consumer/Developer)
https://support.google.com/drive/?
hl=en&p=web_home
Google Apps Developer Blog:
http://googleappsdeveloper.blogspot.com/
Questions?
Thank you very much!
Introduction to
                      Google Drive
                           API

                           Jomar Tigcal
                         GDG Philippines

Google Apps Developer Challenge Workshop/Hackaton
                  July 6-7, 2012

Introduction to Google Drive API