Reply
Regular Member
Posts: 338
Registered: ‎01-28-2016
Kudos: 69
Solutions: 11

Re: UniFi API browser tool: updates and discussion

Started another thread here:

 

https://community.ubnt.com/t5/UniFi-Wireless/Companion-or-Extension-to-the-UniFi-API/m-p/2578336

 

--

Klint

Primary Innovator at Sprocket Technology
Ubiquiti Enterprise Wireless Admin

Setup and secure your UniFi SDN Controller the easy way! Check out the Easy UBNT project and view the source on GitHub. Also, try Vultr for hosting your cloud controller!
Veteran Member
Posts: 4,671
Registered: ‎06-13-2015
Kudos: 1266
Solutions: 218

Re: UniFi API browser tool: updates and discussion

[ Edited ]

Cross-posting here in case you’re not subscribed to the other thread.

 

I pushed another update of the API client class to GitHub today:

 

API client class v1.1.38

  • made regex to extract cookies case-insensitive, while this would only be needed for corner cases this is still RFC compliant (https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2), thanks to @ericfri
  • changed the layout of the README file to put more emphasis on the installation options and the basic example, and less on the list of methods/functions

 Enjoy!

 

Art of WiFi
Check out our UniFi API browser tool on GitHub. The PHP API client which it uses, can be found here on GitHub.
Our UniFi Device Search tool can be found here, and our Captive Portal solutions for UniFi can be found here.
Veteran Member
Posts: 4,671
Registered: ‎06-13-2015
Kudos: 1266
Solutions: 218

Re: UniFi API browser tool: updates and discussion

 

I pushed an update of the API browser tool to GitHub today:

 

API browser version 1.0.35

  • code cleanup based on analysis by [Scrutinizer](https://scrutinizer-ci.com/)
  • included PHP API client class v1.1.38
  • minor UX tweaks applied to alerts and the login form

 Enjoy!

 

Art of WiFi
Check out our UniFi API browser tool on GitHub. The PHP API client which it uses, can be found here on GitHub.
Our UniFi Device Search tool can be found here, and our Captive Portal solutions for UniFi can be found here.
Reply