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'
}
*/
});
-
Notifications
You must be signed in to change notification settings - Fork 1
joshterrell805-historic/gDriveScaledImages
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Get temporary links to scaled images on your google drive
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published