5. Access Anywhere
Google Drive is everywhere you are -- on the
web, in your home, at the office, and on the go.
So wherever you are, your stuff is just...there.
Ready to go, ready to share.
Install it on:
PC, Mac, Android, iOS
6. Store your files in a safe place
Things happen. Your phone goes for a swim.
Your laptop takes an infinite snooze.
No matter what happens to your devices, your
files are safely stored in Google Drive.
7. Powerful search
Google Drive can search keywords
in your files -- even the text in
pictures -- to help you quickly find
what you're looking for.
8. View anything
When a coworker shares a file with
you, you may not have the supported
software on your computer. With
Google Drive you can open and view
over 35 file types directly in the
browser.
9. Access to a world of apps!
Google Drive works with the apps
that make you more efficient.
Choose from a growing set of
productivity applications, integrated
right into your Drive.
11. Drive SDK opportunity
Extensive Reach Effortless Integration
Put your app in front of millions of
users with billions of files
Get the best of Google Drive's sharing
capabilities, storage capacity and user
identity management so you can focus
on your app
++
12. Drive SDK features
Drive
• Create, Read, List, Manage files through the API
• Search, sharing and revisions
Drive Web UI
• Open files and docs with your app directly from Drive
14. Steps for integrating your app w/ Drive
Prerequisites:
• Create a project in the Google APIs Console
• Enable the Drive API
• Create OAuth 2.0 credentials
Integration steps:
• Auth with OAuth 2.0 [& OpenID Connect]
• Write code for opening / saving / managing files
18. Python
Authorization
Using OAuth 2.0 - Redirecting users to the Grant screen
decorator = OAuth2Decorator(client_id=settings.CLIENT_ID,
client_secret=settings.CLIENT_SECRET,
scope=settings.SCOPE,
user_agent='we-cloud')
class Documents(webapp.RequestHandler):
@decorator.oauth_required
def get(self):
user = users.get_current_user()
if user:
service = build('drive', 'v2', http=decorator.http())
29. Steps for adding Drive UI integration
Prerequisites:
• Create a Chrome Web Store listing (Painful !)
• Install the application from the CWS
• Enable and configure the Drive SDK in the Google APIs Console
Integration steps:
• Support OAuth 2.0 server-side flow
• Read action and file ID from URL parameter
30. JSON
Passing context on open & create
What happens when somebody launches your app from Drive?
{
"action" : "create",
"parentId" : "0ADK06pfg"
}
{
"action" : "open",
"ids" : ["0Bz0bd"]
}
URL
https://www.yourapp.com/drive?code=<authorization code>&state=<JSON>
Create actions
Open actions
36. • Resumable upload & download
• Indexable text
• Search!
• Conversions to native Google Documents
• Export of native Google Documents in many formats
• OCR
• Revisions
• List installed apps
• Copy files, Trash files, Touch files
• User Permissions
• Shortcuts
o Auto-generated MIME type
o Contentless
Other Features / tips & tricks