You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing the stat_session function (show login sessions for clients), with the PHP version of the Unifi API class, I noticed that the PHP version lets you perform a search of sessions between a data range for a specific MAC. The NodeJS version doesn't accept a MAC as a parameter.
Again will be issuing a pull-request soon, but documenting this here.
The text was updated successfully, but these errors were encountered:
shankscoder
changed the title
stat_session function not allowing single mac filtering
UnifiAPI.stat_session function not allowing single mac filtering
Aug 9, 2018
Comparing the
stat_session
function (show login sessions for clients), with the PHP version of the Unifi API class, I noticed that the PHP version lets you perform a search of sessions between a data range for a specific MAC. The NodeJS version doesn't accept a MAC as a parameter.Node implementation
node-unifiapi/index.js
Line 246 in 34662c5
PHP Implementation
https://github.com/Art-of-WiFi/UniFi-API-client/blob/master/src/Client.php#L669
An example of using this function call using the
netsite
function in NodeJS:Again will be issuing a pull-request soon, but documenting this here.
The text was updated successfully, but these errors were encountered: