Login   Register  
PHP Classes
elePHPant
Icontem

PHP Wunderground API: Get and cache weather forecast from Wunderground

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 174 All time: 7,436 This week: 1,534Up
Version License PHP version Categories  
wunderground-api 1.0GNU General Public Lice...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
Name: Nemeth Zoltan <contact>
Classes: 4 packages by
Country: Hungary Hungary
Age: 37
All time rank: 220721 in Hungary Hungary
Week rank: 630 Up5 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

Downloadwunderground-api-2014-03-24.zip 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:174All time:7,436
 This week:0This week:1,534Up