PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,319 This week: 1All time: 2,926 This week: 560Up
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: 32
All time rank: 1426212 in United States United States
Week rank: 416 Up46 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,319
This week:1
All time:2,926
This week:560Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:60%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3202