<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Get Weather</title>
<script type="text/javascript" src="../wunderground.js"></script>
<script type="text/javascript">
var w = new wunderground({
service: "geolookup",
type: "CityCountry",
params:["Erftstadt", "Germany"],
culture: "DE",
apikey: "--your api key here--"
});
w.getData(function(response){
console.log(response)
});
</script>
</head>
<body>
</body>
</html> |