2017 © Pedro Peláez
 

library noah

A PHP Library built for the Project NOAH API.

image

ridvanbaluyos/noah

A PHP Library built for the Project NOAH API.

  • Monday, April 9, 2018
  • by ridvanbaluyos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

ridvanbaluyos/noah

A PHP Library built for NOAH API Documentation., (*1)

Actively Maintained Latest Stable Version Total Downloads Scrutinizer Code Quality Build Status Codacy Badge License, (*2)

Table of contents

Requirements

  1. PHP 7 or higher.
  2. Composer

Installation

Open your composer.json file and add the following to the require key:, (*3)

"ridvanbaluyos/noah": "v0.2"

After adding the key, run composer update from the command line to install the package, (*4)

composer install

or, (*5)

composer update

Usage

<?php
error_reporting(E_ALL);

use Ridvanbaluyos\Noah\Noah as Noah;

require_once __DIR__ . '/vendor/autoload.php';

$noah = new Noah();
$stations = $noah->getStations();
var_dump($stations);

Get Doppler

$noah = new Noah();
$stations = $noah->getDoppler();

Get Station by Type and ID

$noah = new Noah();
// First parameter is station type, second parameter is station id.
$stations = $noah->getStationByTypeAndId(1, 27); 

Get Stations

$noah = new Noah();
$stations = $noah->getStations();

Get Flood Maps

<?php
$noah = new Noah();
$stations = $noah->getFloodMaps();

Get Flood Reports

<?php
$noah = new Noah();
$stations = $noah->getFloodReport(2011);

Get Landslide Maps

<?php
$noah = new Noah();
$stations = $noah->getFloogetLandslideMapsReport();

Get Storm Surge Maps

<?php
$noah = new Noah();
$stations = $noah->getStormSurgeMaps();

Get Four-Hour Forecast

<?php
$noah = new Noah();
$stations = $noah->getFourHourForecast();

Get Seven-Day Forecast

<?php
$noah = new Noah();
// Parameter is location id (optional)
$stations = $noah->getSevenDayForecast(1); 

Note: I don't know yet where the reference to the the location id parameter. I will update this once I get a word from the developers., (*6)

Get Latest Contour

<?php
$noah = new Noah();
$stations = $noah->getLatestContour();

Get MT Satellite

<?php
$noah = new Noah();
$stations = $noah->getMtSat();

References

The Versions

09/04 2018

dev-master

9999999-dev

A PHP Library built for the Project NOAH API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

weather forecast himawari

09/04 2018

v0.2

0.2.0.0

A PHP Library built for the Project NOAH API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

weather forecast himawari

09/04 2018

v0.1

0.1.0.0

A PHP Library built for the Project NOAH API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Ridvan Baluyos

weather forecast himawari