I've written a little wrapper to get some functionality from the hlr api but ideally it would need a fully blown wrapper to get the most out of it, my wrapper is more focused on what I need rather that exposing all it's functionality.
I'll find the code and post it if anyone's interested.
Mick.