Skip to content

Releases: leonardfischer/wunderground-api

Updating code style, PHP Unit and adding Psalm

30 Oct 15:17
Compare
Choose a tag to compare

A patch release of the Weather Underground API client with some code style updates and the most current PHP Unit and Psalm versions. No new methods or functions.

Updated API + Tests

24 Jan 19:57
Compare
Choose a tag to compare

The second release of the Weather Underground API client gives you some new methods to get weather data and also contains unit tests (thanks to @stebogit !!).

New methods are:

  • getByUSCity($state, $city)
  • getForecast($location)
  • getExtendedForecast($location)
  • getHistoric($date, $location)

First working release

31 Jan 21:44
Compare
Choose a tag to compare

The first release of the Weather Underground API client gives you some simple query methods to get weather data. The most simple setup looks like this:

// By default the current conditions will be requested in english language.
$weather = (new \lfischer\wunderground\API('<API-key here>'))->getByLocation('Germany', 'Dusseldorf');

There are a few default settings, you might want to check out (see the README)