opwoco/forecast-io-php

PHP wrapper for Forecast IO API (Forked from tave/forecast-io-php)

v1.4.1 2016-10-10 08:51 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:20:00 UTC


README

Forecast IO APIv2 Wrapper implementation: http://forecast.io/

Composer Install

{
  "require" : {
    "opwoco/forecast-io-php": "~1.3"
  }
}

Usage

$WeatherService = new \Forecast\Service('<api-key>');
var_dump($WeatherService->fetch(25.79036, -80.13623));

For response specifics, see API Documentation