PHP API Library

A collection of PHP classes for communication with the SenseIoT API.

Architecture

The PHP class Api (class.Api.php) handles all the request to the SenseIoT API. It provides wrappers to create, update and delete the data concepts that are available in SenseIoT.
Features of the API Library are:

  • SenseIoT login with PHP sessions
    • username & password
    • oAuth
  • SenseIoT concepts to PHP objects
  • SenseIoT interaction via PHP object member functions

Getting Started

To get started just:

include_once "class.Api.php";

$sense_api = new Api();
if($sense_api->login("test", "test"))
print_r($sense_api->readCurrentUser());

Further Reading

For more information, see the documentation.