2017 © Pedro Peláez
 

library openweather

OpenWeatherMap API wrapper for Laravel 5

image

aducworth/openweather

OpenWeatherMap API wrapper for Laravel 5

  • Thursday, January 25, 2018
  • by aducworth
  • Repository
  • 1 Watchers
  • 1 Stars
  • 249 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

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)

The Versions

25/01 2018

dev-master

9999999-dev

OpenWeatherMap API wrapper for Laravel 5

  Sources   Download

The Requires

  • php >=5.3.0

 

by Austin Ducworth