tave/forecast-io-php

PHP wrapper for Forecast IO API

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.5.0 2017-04-17 01:49 UTC

This package is not auto-updated.

Last update: 2024-01-18 06:49:06 UTC


README

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

Composer Install

{
  "require" : {
    "tave/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