Skip to content

pfitzer/Pegelonline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov

##PHP Class to use Pegelonline Rest-Api For more information see pegelonline.wsv.de

install

composer require pfitzer/pegelonline

"require": {
    "pfitzer/pegelonline": "*"
}

usage

$pgOnline = new Pegelonline();

# get all waters with stations
try {
    $result = $pgOnline->getWaters(true);
} catch (\InvalidArgumentException $e) {
    # do something
}

contribute

feel free to do so

git clone https://github.com/pfitzer/Pegelonline

install dev dependencies

composer install

run unit tests

phpunit --configuration phpunit.xml

About

PHP library to use REST data from www.pegelonline.wsv.de

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages