diff --git a/README.md b/README.md index 0d160da..389ba0e 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ The Unifi API browser tool offers the following features: - daily site stats - health metrics - dashboard metrics (supported on controller version 4.9.1.alpha and higher) + - port forward stats - Hotspot - stat vouchers - stat payments diff --git a/index.php b/index.php index c501638..e9edc4a 100644 --- a/index.php +++ b/index.php @@ -290,6 +290,10 @@ $selection = 'list port forwarding rules'; $data = $unifidata->list_portforwarding(); break; + case 'list_portforward_stats': + $selection = 'list port forwarding stats'; + $data = $unifidata->list_portforward_stats(); + break; case 'stat_voucher': $selection = 'list hotspot vouchers'; $data = $unifidata->stat_voucher(); @@ -482,6 +486,7 @@ function to print the output = 0) { ?>
  • site dashboard metrics
  • +
  • port forwarding stats