I want to make a call to OpenWeatherMap API with javascript (and maybe jQuery?) to this URL
http://api.openweathermap.org/data/2.5/weather?lat=(here comes the lat for a variable)&lon=(lon from variable)
Then parse the API output(It's JSON I think) to get the
"main":"Clear" and "temp":271.997
And set the "main" and "temp" variables to js variables, and send them to innerHTML.
Can somebody make a script example, please?
Thanks for the help and sorry the bad english.