kenken999's picture
test
5a32ee0
raw
history blame contribute delete
268 Bytes
function getImageData(imageUrl) {
var options = {
'method': 'GET',
'headers': {
'Authorization': 'Bearer YOUR_IMAGE_API_TOKEN'
}
};
var response = UrlFetchApp.fetch(imageUrl, options);
var imageData = response.getBlob();
return imageData;
}