Hi again,
if you mean exporting the polygons created by the footprints2shapes script, you can look at chunk.exportShapes method . From API reference manual, p.39:
exportShapes(path='', save_points=False, save_polylines=False, save_polygons=False[, groups ],
format=ShapesFormatNone[, crs ][, shift ], polygons_as_polylines=False, save_labels=True,
save_attributes=True[, progress ])