GOOGLE SHEETS web scraping commodity prices 2021
/**
* Returns the value of given {@param symbol} from metals-api.
*/
function metalsApi(symbol) {
if (!symbol || symbol === "") {
return "symbol is mandatory"
}
// This is a stub implementation
return symbol;
}