Weather lamp app

I would like to know how to get this app to work tried the original and the modified with no luck. puuuuuy api key and long and lat locations but the smartthings ide comes up with errors. the modifeid one I got to the 484 line but there is no info on it help rich