Login   Register  
PHP Classes
elePHPant
Icontem

Current City Weather: Get weather forecast of a city from Wunderground

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-06 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,170 This week: 2All time: 2,995 This week: 817Up
Version License PHP version Categories  
current_city_weather 1.0BSD License5.0PHP 5, Web services, Weather
Description Author  

This class can be used to get the weather forecast of a given city from the Wunderground site.

It can access the Wunderground.com cite and retrieve the page with the weather forecast details for a given city.

The forecast details are returned in an array. Currently it retrieves whether forecast details such as:

- Current Temperature in Fahrenheit and Celsius
- Current Condition image
- Current Condition text
- Humidity
- Dew Point in Fahrenheit and Celsius
- Wind speed in MPH and K/PH
- Wind Direction
- Wind gusts in MPH and K/PH
- Barometric pressure
- Current visibility
- Current Ultra-Violet index
- Cloud height in feet and meters
- Elevation in feet and meters
- Current radar image/link to live radar

Picture of Matthew Johnston
Name: Matthew Johnston <contact>
Classes: 4 packages by
Country: United States United States
Age: 23
All time rank: 1395189 in United States United States
Week rank: 557 Up58 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file Weather_Class.php Class Weather Class
Accessible without login Plain text file example-1 Example Example 1
Accessible without login HTML file Example-1-output Output Example 1 output
Accessible without login Plain text file example-2 Example Example 2
Accessible without login HTML file example-2-output Output Example 2 output
Accessible without login Plain text file radar-example Example example of the radar
Accessible without login HTML file radar-example-output Output radar example output

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,170All time:2,995
 This week:2This week:817Up