Hello, I am currently working on a script that gets data from a hosted
ArcGIS Online feature class. The plan is to go from top to bottom in a particular
column, and for every value X to execute a print command. I've already managed
this with local files:
fc = r'C:/...'
fields = ['F_03']
with arcpy.da.UpdateCursor(fc, fields) as cursor:
for row in cursor:
if row == "X":
Which will only work with ArcMap and not as standalone script I think.
Also I've already established the "connection" to my hosted feature class with
requests.get(URL). But I can't figure out, how to put those two snippets
together so it will actually work.