Import and render 3d objects with python
I believe this is possible and not too difficult. The trick is: Do one iteration manually by clicking in the menus etc. and Blender will create most of the code for you. Then you just switch to the Scripting layout (or change one of your panels to Scripting -&gt; Info type) and there is the code Blender used to perform your operations.
For example I just added a camera in my scene and I see this line:
bpy.ops.object.camera_add(enter_editmode=False, align='VIEW', location=(0, 37.462, -0.0662922), rotation=(1.5708, -0, 1.5708))

You then need to change the numbers into variables and make some for-loops and you are done in no time.