gafhyb/itop-api

There is no license information available for the latest version (1.1) of this package.

1.1 2017-06-19 12:39 UTC

This package is not auto-updated.

Last update: 2024-05-12 02:11:10 UTC


README

Configuration

It uses config.json as configuration file.

You can either you plain text password :

{
  "user" : "toto",
  "password" : "#G1bm2p!",
  "serverUrl" : "http://host/path"
}

Or a system command to retrieve your (cryptic) password :

{
  "user" : "toto",
  "password" : "`security find-generic-password -a thisisamacexample -w`",
  "serverUrl" : "http://host/path"
}

You can define file's path with

\gafhyb\iTop\API\Config::setConfigPath(__DIR__ . "/config-test.json");

Composer