Documentation for a planned UKS API has been started HERE. Check it out and leave comments and suggestions!