Skip to content

raghunandan13k/gDriveScaledImages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example

var getLinks = require('gDriveScaledImages').getLinks;

var linksP = getLinks({
   fileId: 'some public google drive image fileid',
   thumbnailWidth: 400, // px
   webContentType: 'view', // view or download, view is default
});

linksP.done(function(hash) {
   console.log(hash);
   /*
      {
         'thumbnailLink': 'some url to a temporary link of your scaled image at 400 px in width',
         'webContentLink': 'a url to a full-sized version of your image'
      }
   */
});

About

Get temporary links to scaled images on your google drive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%