martin-becker / ip-projects-restposten
Restposten API Wrapper für die IP-Projects Restposten API.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/martin-becker/ip-projects-restposten
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2020-08-29 04:08:59 UTC
README
- PHP 7.1 or higher
- PHP curl extension
- IP-Projects API Credentials
Install
This is a Composer Package, you may use it with Composer. Or you can include the file Api.php in the src/ directory.
Composer
To install this Package via Composer run:
composer require martin-becker/ip-projects-restposten
Manually Source Code
require_once('/dir/to/Api.php');
Examples
List all Servers
$username = "";
$password = "";
$api = new \MartinBecker\IPProjectsRestposten\Api($username,$password);
$json = $api->request('hardware');