Just in time with our new RenderPal version we released a Python library that allows the users to query important data from the RenderPal server directly from within their host application.
You can get all necessary information about it in our forum.
http://forum.renderpal.com/viewtopic.php?f=5&t=292