This tutorial shows how to easily download an item from an ESRI portal using the Python API. Can you open the item just downloaded in a different, offline, Python environment that doesn't have access to the portal? I'm looking to access the properties such as item.name, item.extent and item.snippet the same as I would in the Python environment that has access to the API. I don't see an obvious solution in the Python API documentation.
-
1The right to download an object is not the same as the right to upload one. You need to clarify the permissions available.Vince– Vince2025-04-16 17:29:11 +00:00Commented Apr 16 at 17:29
-
My role privileges are View portal members, Create, update, and delete groups, Join portal groups, View groups shared with portal, Create, update, and delete content, View content shared with portal, Share content with groups, Share content with portal, Share content with public, Make groups visible to portal, Make groups visible to public, Geocoding, Network Analysis, Spatial Analysis, GeoEnrichment, Edit features, View all portal members, View all portal groups, View all portal contentjgm_GIS– jgm_GIS2025-04-16 17:39:59 +00:00Commented Apr 16 at 17:39
-
Note, I am not trying to upload the item back to the portal, I just want to access in a different python environment, offline, than the one I used to download it.jgm_GIS– jgm_GIS2025-04-16 17:42:19 +00:00Commented Apr 16 at 17:42
-
1Please Edit the Question in response to requests for clarification. "access in a different python environment" is a very different Question than as currently written. You are asking about using a library in a very different way than it was designed to be used.Vince– Vince2025-04-16 18:17:43 +00:00Commented Apr 16 at 18:17
-
1It would be trivial to construct an array of dictionaries with the captured data, and write it to a JSON file, which could then be read elsewhere, but there is no paradigm for taking memory items in one environment and magically creating them in a different, disconnected environment.Vince– Vince2025-04-16 19:45:33 +00:00Commented Apr 16 at 19:45
Add a comment
|