PHPackages                             randomhost/weather - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. randomhost/weather

AbandonedArchivedLibrary[API Development](/categories/api)

randomhost/weather
==================

Encapsulates functions for easy retrieval of weather data from the Yahoo Weather API.

1.1.2(8y ago)1261BSD-3-ClausePHPPHP &gt;=5.3.0

Since Sep 19Pushed 3y agoCompare

[ Source](https://github.com/randomhost/weather)[ Packagist](https://packagist.org/packages/randomhost/weather)[ Docs](https://www.random-host.com)[ RSS](/packages/randomhost-weather/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (3)Versions (7)Used By (0)

[![Build Status](https://camo.githubusercontent.com/4bac5043ac3ab8334578c8be7d8889417ce3950c3d7a66fbef56cd273d0e5281/68747470733a2f2f7472617669732d63692e6f72672f72616e646f6d686f73742f776561746865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/randomhost/weather)

**NOTE: This package has been abandoned as of January 2019 due to Yahoo shutting down free access to their Weather API.**

randomhost/weather
==================

[](#randomhostweather)

This package encapsulates functions for easy retrieval of weather data from the [Yahoo Weather API](http://developer.yahoo.com/weather/). It was created as part of `randomhost/webcamoverlay`but is released as a separate component so it can be used in other packages.

Because it was created as a dependency of `randomhost/webcamoverlay`, it does only support a subset of the available weather data.

Usage
-----

[](#usage)

A basic approach at using this package could look like this:

```
