I'm an absolute beginner when it comes to programming. I've been trying to import data table from "http://www.rotowire.com/daily/nba/value-report.htm" into google spreadsheets.
I came across Google Apps Scripts and urlfetchapp basic authentication and tried to create and run a script but I can't figure it out. This is the code I tried using to for the basic authentication ([came across here][1]):
function myTest() {
var USERNAME = PropertiesService.getScriptProperties().getProperty('johndoe22');
var PASSWORD = PropertiesService.getScriptProperties().getProperty('doejohn11');
var url = PropertiesService.getScriptProperties().getProperty('http://www.rotowire.com/daily/nba/value-report.htm');
}
Nothing happens when I run this script, what am I doing wrong? I just need the script to be able to pull info from that website.
Thanks for all your help.