PHP Classes

PHP Weather Forecast API: Get the weather forecast from World Weather Online

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (3 days ago) RSS 2.0 feedNot enough user ratingsTotal: 1,145 This week: 6All time: 3,294 This week: 43Up
Version License PHP version Categories
weather-forecast 1.11MIT/X Consortium ...5PHP 5, Web services, Weather
Description 

Author

This class can get the weather forecast from World Weather Online.

It can send HTTP requests to the World Weather Online API Web server to retrieve the weather forecast for a given location for the next 5 days.

The class can return the weather time, temperature, description icon, wind speed, wind direction, precipitation, humidity, visibility, pressure, and cloud cover.

The class caches the weather information in a file for one hour.

Picture of Giovanni Ramos
  Performance   Level  
Name: Giovanni Ramos <contact>
Classes: 5 packages by
Country: Brazil Brazil

Details

# World Weather Online API Wrapper This is an API wrapper for worldweatheronline.com which provides access to meteorological and weather data. ### The returned data contains elements such as: * Temperature * Precipitation (rainfall) * Weather description * Weather icon * Wind speed ### Features * Simple access to meteorological and weather data * By default the data is cached for 1 hour * No adverts To use the API you need to sign up for API access on [WorldWeatherOnline](http://worldweatheronline.com) (Registration is free).

Screenshots  
  • WeatherForecast
  Files folder image Files  
File Role Description
Files folder imagecache (1 file)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file screen.css Data Auxiliary data
Plain text file WeatherForecast.class.php Class Class source

  Files folder image Files  /  cache  
File Role Description
  Accessible without login Plain text file .gitkeep Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 83%
Total:1,145
This week:6
All time:3,294
This week:43Up