
Integrate with the Google Drive UI, which is Google's standard web UI you can use to interact with Drive files.Create a dedicated Drive folder to store your application’s data so that the app cannot access all the user's content stored in Google Drive.Create shortcuts that are external links to data stored outside of Drive, in a different data store or cloud storage system.Combine with the Google Picker API to search all files in Google Drive, then return the file name, URL, last modified date, and user.Let users share files, folders and drives to collaborate on content.
Create complex search queries that return any of the file metadata fields in the Files resource.
Search for files and folders stored in Google Drive. Download files from Google Drive and Upload files to Google Drive. You can develop applications that integrate with Google Drive, and create robust functionality in your application using Google Drive API. Google Drive offers a RESTful Webservice API which allows you to create apps that leverage Google Drive cloud storage. Finally, if you're using JavaScript on Google Apps Script, both the Drive Service native object and Drive Advanced Service are still using v2 of the API.Linx – Google Drive Integration Guide Introduction Note that if you're writing an Android app, there's a separate Google Drive API for Android with its own set of docs. Print('Imported %r to %r (as %s)' % (SRC_FILENAME, DST_FILENAME, rsp)) Rsp = DRIVE.files().create(body=METADATA, media_body=SRC_FILENAME).execute() The response body will be a JSON representation of the newly created File resource. It has to be in the form of a File resource JSON object: POST /drive/v2/files HTTP/1.1 The documentation on insert operations already contains examples in a bunch of programming languages, here is how to do it using the HTTP based protocol of the Google Drive API.įirst, POST the new file metadata to the Drive endpoint.