File: demos/002.html

Recommend this page to a friend!
  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: 11 years ago
Size: 601 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> <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>