Login   Register  
Icontem

File: demos/001.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/001.html  >  Download  
File: demos/001.html
Role: Example script
Content type: text/plain
Description: A simple example
Class: Wunderground Weather API
Retrieve weather information with Wunderground API
Author: By
Last change: rename file
Date: 2013-01-04 14:07
Size: 562 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>The very first step</title>
<script type="text/javascript" src="../wunderground.js"></script>
<script type="text/javascript">


var test = new wunderground("geolookup","DE", "--your api key here--");
test.CityCountry("Erftstadt", "Germany");
test.getData(function(response){ 
	console.log(response)
});

</script>
</head>
<body>

</body>
</html>