Open Weather
Laravel wrapper for Open Weather, (*1)
http://openweathermap.org, (*2)
Installation
Via Composer, (*3)
$ composer require aducworth/openweather:dev-master
Service Provider
'Aducworth\Openweather\OpenweatherServiceProvider'
Facade
'Openweather' => 'Aducworth\Openweather\Facades\Openweather'
Usage
Get current weather., (*4)
use Openweather;, (*5)
$data = Openweather::byCity({appid},{city},{country=null});, (*6)
$data = Openweather::byZip({appid},{zip});, (*7)
$data = Openweather::byCoordinates({appid},{lat},{lon});, (*8)