camilord/alphaone_api

AlphaOne API Library

1.0.6 2021-11-06 21:11 UTC

This package is auto-updated.

Last update: 2024-05-07 02:19:15 UTC


README

Use this library to integrate with AlphaOne Building Consent System

codecov

Usage

<?php

define('CONFIG_FILE', dirname(__FILE__).'/config.json');

$obj = new AlphaOneAPI(CONFIG_FILE);
$data = $obj->getProjectDetails(12);
print_r($data);

Output

Array
(
    [ID] => 12
    [ConsentID] => BC12
    [Complexity] => R1
    [ComplexityOverride] => 
    [Stats] => Array
        (
          ...
        )
)

For the detailed documentation of the AlphaOne API, please contact AlphaOne support team or visit at www.abcs.co.nz