Poracle has an API which other applications can use to communicate with and command it. This was primarily developed for PoracleWeb, but could be used (and extended) for other purposes.