PHP Classes

PHP Open Weathermap: Get the weather for a given location

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 364 All time: 6,842 This week: 190Up
Version License PHP version Categories
weathermap 4BSD License5PHP 5, Web services, Weather


This package can get the weather for a given location.

It can send a HTTP request to the OpenWhethermap API Web server to retrieve the current weather conditions at a location with given latitude and longitude.

The class can return the weather conditions described using English text.

Picture of Marcel Kohls
  Performance   Level  
Name: Marcel Kohls <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 42
All time rank: 3181235 in Brazil Brazil
Week rank: 578 Up44 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example index file, demo
Plain text file Weather.class.php Class main class for weather object
Plain text file WeatherCondition.class.php Class support class for weather descriptions

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,842
This week:190Up