Are there any plans to have ArcGIS API for Python work for advanced geoprocessing for offline layers? There are many functionalities arcpy still has that the API hasn’t developed yet. The API serves as a spiritual successor to arcpy, but functionally, handles different layers and has different methods.
I keep getting emails about this, so I'll answer my own question. While the ArcGIS API for Python is continually being developed, it is limited in the type of geoprocessing tools it supports for ArcGIS Online layers. The best way to handle this is to use the ArcGIS API for Python to programatically export an online layer--that is, a hosted feature service layer--to a file geodatabase, run geoprocessing tools on it via arcpy offline, then re-upload the layer.
With over 2.5 million reviews, we can provide the specific details that help you make an informed software buying decision for your business. Finding the right product is important, let us help.