PHP Classes

MyWeather: Get city weather forecast from

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 710 All time: 4,609 This week: 220Up
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 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: 31
All time rank: 278349 in Iran Iran
Week rank: 946 Up18 in Iran Iran Up

/* Readme file for MyWeather Class */

Please create a "tmp" folder with "777" access permission in base directory of class.

/* Thanks! */
  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,609
This week:220Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.