New to GIS/ArcGIS Pro, so apologies in advance if I say anything incorrect. I downloaded Esri's World Imagery tile layer, and upon opening it in ArcGIS Pro was able to zoom into an area and export that location as a GeoTIFF file manually by going to Share -> Export Map -> GeoTIFF.
Does the ArcGIS Python API include a way to write a script to do all this through code (finding a target area of the tile layer/Map file through input coordinates or shapefile or something else and exporting it as a GeoTIFF file)? I tried exportToTIFF from https://pro.arcgis.com/en/pro-app/2.7/arcpy/mapping/layout-class.htm but wasn't able to get what I wanted.