Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Professional Edition
-
None
Description
I've taken the API's 'sensors' code, and amended it to pull out printer supplies.
I've attached an updated index.php and new printersupplies.inc.php.
The files attached are from observium/html/api/v0/ and observium/html/api/v0/includes/
This allows API calls like /api/v0/printersupplies/?device_id=592 and /api/v0/printersupplies/ to be made.