Filesutra

Filesutra is an opensource tool to quickly implement the file import from popular cloud storage providers. Filesutra currently supports Google Drive, Microsoft OneDrive, Box and Dropbox.

To use filesutra, add following script to your html page -

<script src="http://filesutra.com/js/filesutra.js"></script>
Then add following code to click handler of import button -
          $("#importBtn").click(function() {
            filesutra.importFiles(function(data) {
            // File import response is available in 'data' variable
            /** sample response
            {
              "fileName": "sample.pdf",
              "downloadUrl": "http://filesutra.com/download/teGhzSfIp4zJLW9",
              "size": 12345
            }
            **/
            console.log(data);
            });
          });
        
Above example assumes that jquery is already inclued in the page. Please checkout the demo by clicking the 'Import File from Cloud' button in the right.
Filesutra is an opensource project. Code is available on Github