PHP Classes

MyWeather: Get city weather forecast from wunderground.com

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 728 All time: 4,573 This week: 524Up
Version License PHP version Categories
myweather 1.0.0GNU General Publi...4.0Web services, Weather
Description 

Author

This class can be used to get the whether forecast for a given city of the world.

It accesses the wunderground.com site and performs a search for a world location.

The class retrieves an RSS feed associated to the searched location with the weather forecast for the following days.

The class parses the retrieved RSS feed and returns an associative array with weather report parameters like the location name, temperature, humidity and air pressure.

Picture of Amir Jafari
Name: Amir Jafari <contact>
Classes: 1 package by
Country: Iran Iran
Age: 34
All time rank: 279046 in Iran Iran
Week rank: 187 Up3 in Iran Iran Up

Details

/* Readme file for MyWeather Class */ Please create a "tmp" folder with "777" access permission in base directory of class. /* Thanks! */

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file example.php Example example file
Plain text file MyWeather.Class.php Class class source file.
Accessible without login Plain text file readme.txt Doc. readme file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:728
This week:0
All time:4,573
This week:524Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:68%StarStarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1829