BlenderGIS import call from python script
Have a look at the operator name when you mouse over it, in this case bpy.ops.importgis.shapefile()

Now in the python console type in command and using autocomplete ctrl-space

&gt;&gt; bpy.ops.importgis.shapefile(
shapefile()
bpy.ops.importgis.shapefile(filepath="", filter_glob="*.shp", useFieldElev=False, fieldElevName="", useFieldExtrude=False, fieldExtrudeName="", extrusionAxis='Z', angCoords=False, separateObjects=False, useFieldName=False, fieldObjName="")


You get the operator call and the parameters.  Testing with a local filepath

&gt;&gt;&gt; bpy.ops.importgis.shapefile(filepath="/mnt/.../GDAL/contour.shp")
Read shapefile...
Feature type : PolyLine
DBF fields : ['id', 'elev']
0%
10%
20%
...
90%
100%
Imported mesh had some problem, check the result!
{'FINISHED'}

&gt;&gt;&gt;