function priceapi(crypto_id){
var full_url = 'https://sheetji.com/api/crypto/price/'+ crypto_id;
var response = UrlFetchApp.fetch(full_url);
var data = JSON.parse(response.getContentText());
return data['price'].replace('$','');
}
function price_history(crypto_id, date){
var full_url = 'https://sheetji.com/api/crypto/history/'+ crypto_id +'/'+ date;
var response = UrlFetchApp.fetch(full_url);
var data = JSON.parse(response.getContentText());
return data['price'].replace('$','');
}