Connector to submit Renders

I want to use a connector to open a usd and save a render to a file. I’m struggling to find clear examples of how to implement this though. I’m up for using the python api or the C++ api, could anyone provide an example or guide me in the right direction?