2017 © Pedro Peláez
 

library weather

Library Weather in PHP

image

franhernandez/weather

Library Weather in PHP

  • Sunday, May 25, 2014
  • by franhernandez
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Weather

PHP Library Weather (Yahoo Api), using HTTP Client Guzzle.br/ Guzzle: http://guzzle.readthedocs.org/en/latest/http-client/client.html#creating-a-clientbr/ Yahoo Api Weather: https://developer.yahoo.com/weather/, (*2)

Here's an example:, (*3)

$woeid = '753692'; //From Barcelona City
$library = new WeatherLibrary();
$library->getWeatherFromWoeid($woeid);

Response:, (*4)

<img src="http://l.yimg.com/a/i/us/we/52/28.gif"/><br />
<b>Current Conditions:</b><br />
Mostly Cloudy, 68 F<BR />
<BR /><b>Forecast:</b><BR />
Sun - Mostly Clear. High: 68 Low: 60<br />
Mon - Thunderstorms. High: 67 Low: 58<br />
Tue - Partly Cloudy. High: 69 Low: 59<br />
Wed - Showers. High: 66 Low: 58<br />
Thu - Mostly Sunny. High: 68 Low: 60<br />
<br />
<a href="http://us.rd.yahoo.com/dailynews/rss/weather/Barcelona__ES/*http://weather.yahoo.com/forecast/SPXX0015_f.html">Full Forecast at Yahoo! Weather</a><BR/><BR/>
(provided by <a href="http://www.weather.com" >The Weather Channel</a>)<br/>


Current Conditions:
Mostly Cloudy, 68 F

Forecast:
Sun - Mostly Clear. High: 68 Low: 60
Mon - Thunderstorms. High: 67 Low: 58
Tue - Partly Cloudy. High: 69 Low: 59
Wed - Showers. High: 66 Low: 58
Thu - Mostly Sunny. High: 68 Low: 60

Full Forecast at Yahoo! WeatherBR/BR/ (provided by The Weather Channel)br/, (*5)

The Versions

25/05 2014

dev-master

9999999-dev https://github.com/franhernandez/Weather

Library Weather in PHP

  Sources   Download

MIT

The Requires

 

by Fran Hernandez

php library yahoo wheater