Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

Added support for querying other controllers (eg. Access) #178

Open lubikx opened 1 year ago

lubikx commented 1 year ago

With this pull request, you are able to call other controllers in unifi os, for example like this:

$success = $api->custom_api_request('/proxy/access/api/v2/device/' . $this->option('doorid') . '/relay_unlock', 'PUT');