API Info and Docs at https://www.directadmin.com/api.php
httpsocket from http://files.directadmin.com/services/all/httpsocket/httpsocket.php
sample at http://www.directadmin.com/sample_api.txt
more examples at http://files.directadmin.com/services/all/httpsocket/examples/