@rgralak excellent. Seems as though you are the NSA of PemPro (I added this sentence because I am hilarious and so your filter will pick it up).
The docs are here:
You will need SGPro running to access them. There are a multitude of ways to interact with the API. If you want REST, choose JSON in the docs.
To take subframes, you will need two calls:
Getting the camera props will return the dimensions of the camera and then you can use that to validate the subframe you have requested is in bounds.
Here is a complete example in C# and REST (minus the sub-frames):
Please feel free to reach out to us offline if you need additional features or other help.