Google Apps Script Library for Google Drive API

The advanced Google Drive API offers access to functionality that is not available with the Drive API inside Google Apps Script. For instance, the Drive API offers Revisions that helps you monitor file changes. Google has published a library for the Drive API that makes it easy to use the API inside Google Scripts.

Spencer has published a wrapper library that makes it easy to use the advanced Google Drive API inside Google Apps Script.