PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (8 years ago) RSS 2.0 feedStarStarStar 48%Total: 1,250 This week: 1All time: 2,950 This week: 872Up
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: 25
All time rank: 1414192 in United States United States
Week rank: 736 Up74 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,250
This week:1
All time:2,950
This week:872Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2155