AnsweredAssumed Answered

How do you export a public service item from another organization?

Question asked by bgodfrey on Aug 15, 2018
Latest reply on Aug 17, 2018 by bgodfrey

Using item.export arcgis.gis module — arcgis 1.4.2 documentation I'm able to download data to a zip file from a feature service like this (I''m the item owner and an admin on the site):

from arcgis.gis import *

gis = GIS(username="user_name", password="password")
data_item_id = "abcde12345"

data_item = gis.content.get(data_item_id)
output_file = data_item.export(title=data_item_id,export_format="Shapefile",wait=True) = "D:\\temp\\data\\")


The documentation states: "Available only to users with an organizational subscription. Invokable only by the service item owner or an administrator."


How do I export data from a public feature service item available from an organization of which I am not a member?  The data are available from an Open Data site and I can choose 'Download' using the web page but how do I export the data using the Python API?  I have a number of items I would like to download.


Thank you for any help.  I'm stuck.