A CGI script that provides a simple RESTful JSON API for the Kankun Small K wifi switch.