Retrieving Samples, CPU/GPU, and Render Engine in Python

I’m trying to write a script that will retrieve some of the rendering information in a blender file.

I have already used to retrieve the start, end and scene information, but would also like to access the # of samples, if it is set to CPU or GPU and to see which render engine is set in the .blend.

Does anyone know how to get this information in a standalone python script, outside of blender?

Thank you!