Esri python api download file geodatabase

workflow to download a hosted feature service as a file geodatabase: In that piece of code there is no reference to the ArcGIS Python API.

With the ArcGIS API for Python you can automate the process of importing data you import the data from Los Angeles GeoHub in the Download data tutorial. Publish the Trailheads.csv and Trails.geojson files using these String values for  From the menu bar, select File > Save As > Save to ArcGIS Geodatabase. You cannot save a vector dataset (feature class) to an ArcGIS feature dataset from