2017 © Pedro Peláez
 

project weather

An OpenWeatherMap API helper for PHP.

image

tamarillo/weather

An OpenWeatherMap API helper for PHP.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Weather API

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Helper classes for OpenWeatherMap., (*2)

This package was once part of the Dengo Framework. Now it's available on the Tamarillo projects., (*3)

Examples

<?php

// Composer Autoloader
require_once 'vendor/autoload.php';

// The Location for Stuttgart, Germany
$weather = Tamarillo\Weather\Weather::getWeather([ 48.782318, 9.17702 ];

echo $wether->weather()->id();    // The ID of the current weather

echo $wether->city();             // The name of the City
echo $wether->city()->id();       // The ID of the City
var_dump($wether->geo());         // An array of the coordinations of the City

echo $wether->weather();          // The current weather description
echo $wether->weather()->icon();  // The current weather icon

The Versions

02/09 2015

dev-master

9999999-dev

An OpenWeatherMap API helper for PHP.

  Sources   Download

MIT

The Requires

 

openweathermap dengophp tamarillo

14/07 2015

v0.2

0.2.0.0

An OpenWeatherMap API helper for PHP.

  Sources   Download

MIT

The Requires

 

openweathermap dengophp tamarillo

11/07 2015

v0.1

0.1.0.0

An OpenWeatherMap API helper for PHP.

  Sources   Download

MIT

The Requires

 

openweathermap dengophp tamarillo