Login   Register  
Icontem

File: demos/002.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  Wunderground Weather API  >  demos/002.html  >  Download  
File: demos/002.html
Role: Example script
Content type: text/plain
Description: Another way to write
Class: Wunderground Weather API
Retrieve weather information with Wunderground API
Author: By
Last change:
Date: 2013-01-04 14:02
Size: 601 bytes
 

Contents

Class file image Download
<!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>