PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedStarStarStar 41%Total: 1,222 This week: 1All time: 2,976 This week: 1,146Up
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 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: 24
All time rank: 1415193 in United States United States
Week rank: 919 Up100 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,222All time:2,976
 This week:1This week:1,146Up
 User Ratings  
 All time