4caster.net

defining prediction
  • Home
  • About
  • Contact

pxWeather

September 24, 2008

pxWeather isn’t a full blown (there is no pun here, promise) weather data site, but just a small amount of PHP code that is easy to integrate into an existing website or application to retrieve weather data.

It’s open source and simple to integrate into an application as this snippet shows…

<?php
require_once("pxweather.class.php");
$w = new Weather($city = "Miami");
$w->load();
echo $w->getCurrent("temp.string");
? >

The downside about pxWeather is that it doesn’t seem to have been updated since 2005 so you might want to take a cached copy of the website and any documentation. However it does still work and is a good starting point if you plan on writing your own application code.

Comments
No Comments »
Categories
Code, Weather Data
Tags
php, pxweather
Comments rss Comments rss
Trackback Trackback

About

4caster.net aims to consolidate information about weather data as well as analyse and predict weather forecasts more accurately based on historical data.

Archives

  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008

Tags

bbc c# coding data geo::metar metar metcheck national weather service perl php pxweather rss rssweather site information weather weather2u Weather Data world meteorological organization world weather information service xml
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox