PHP Classes

PHP Wunderground API: Get and cache weather forecast from Wunderground

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-03-24 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 192 All time: 7,681 This week: 1,146Up
Version License PHP version Categories  
wunderground-api 1.0GNU General Publi...5.4PHP 5, Databases, Cache, Weather
Description Author  

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 <contact>
Classes: 4 packages by
Country: Hungary Hungary
Age: 38
All time rank: 220221 in Hungary Hungary
Week rank: 898 Up9 in Hungary Hungary Up

  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
Downloadwunderground-api-2014-03-24.tar.gz 29KB
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  
 0%Total:192All time:7,681
 This week:0This week:1,146Up