Download a file of Google Drive.

1 google.drive.get

Passed an id, the file of Google Drive is downloaded.

<google.drive.get
    credentials-json='credentials-json'
    credentials-path='credentials-path'
    file-id='file-id'
    file-path='file-path'
/>

Obtener credenciales

To obtain the credentials, go to the section google.drive.list

Example

Download the desired file of Google Drive.

Copy
<xsql-script name=''>
    <body>
        <google.drive.get credentials-path="/Users/afp/Desktop/clientsecret.json" 
                          file-id="0B_kCxfwKVMTLUkJiVkJzR1VNMnc" 
                          file-path="/Users/afp/Desktop" />
    </body>
</xsql-script>