1

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.

5
  • 1
    The right to download an object is not the same as the right to upload one. You need to clarify the permissions available. Commented 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 content Commented 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. Commented Apr 16 at 17:42
  • 1
    Please 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. Commented Apr 16 at 18:17
  • 1
    It 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. Commented Apr 16 at 19:45

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.