PHP Classes

PHP Wunderground API: Get and cache weather forecast from Wunderground

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 243 All time: 8,007 This week: 455Up
Version License PHP version Categories
wunderground-api 1.0GNU General Publi...5.4PHP 5, Databases, Cache, Weather


This class can get and cache weather forecast using the Wunderground API.

It can send HTTP requests to the Wunderground API Web servers to retrieve the weather forecast information for a given city and country.

Currently it can retrieve the Wunderground information for forecast, alerts, almanac, astronomy, conditions, currenthurricane, forecast10day, geolookup, hourly, hourly10day, rawtide, satellite, tide, webcams and yesterday.

The response of each API URL that is accessed is cached in a database.

Picture of Nemeth Zoltan
  Performance   Level  
Name: Nemeth Zoltan is available for providing paid consulting. Contact Nemeth Zoltan .
Classes: 9 packages by
Country: Hungary Hungary
Age: 46
All time rank: 157213 in Hungary Hungary
Week rank: 258 Up1 in Hungary Hungary Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imageclasses (3 files)
Files folder imagelogs (1 file)
Plain text file index.php Example test file for the class
Plain text file sample_output_2.txt Output Sample output
Image file screenshot.jpg Screen Sample output

  Files folder image Files  /  classes  
File Role Description
  Plain text file EException.class.php Class The exception class for IDatabase class
  Plain text file IDatabase.class.php Class IDatabase class for MySQLi (caching)
  Plain text file Wunderground.class.php Class The base class file

  Files folder image Files  /  logs  
File Role Description
  Plain text file logs.txt Output Errors and event logs here 30KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
IDatabase class Download .zip .tar.gz Database connection Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,007
This week:455Up
 User Ratings  
 All time