PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (9 months ago) RSS 2.0 feedStarStarStar 56%Total: 1,149 All time: 3,291 This week: 39Up
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
Age: 42
All time rank: 95666 in Brazil Brazil
Week rank: 195 Up15 in Brazil Brazil Up

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 (1)  
  • WeatherForecast
  Files folder image Files (6)  
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 (6)  /  cache  
File Role Description
  Accessible without login Plain text file .gitkeep Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 83%
Total:1,149
This week:0
All time:3,291
This week:39Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1791