Hello, I am having difficulty auditing organisational content, and I wish to gather a full list of content, the type of content and which user owns this content.
I have accessed the list quite easily using the ArcGIS API - https://developers.arcgis.com/python/guide/accessing-and-creating-content/
What I am having difficulty in doing is finding a way to convert the API output into a dictionary in python, to then output into a CSV.
The output type is coming out as <class 'arcgis.gis.Item'>, with an example below:
[<Item title:"0ff721b591bb4526a0877b4708488db1" type:Feature Layer Collection owner:arcgis_python>,
<Item title:"UnemploymentRateHotspots245326" type:Feature Layer Collection owner:arcgis_python>,
<Item title:"6f0e42f4e35540b180f92263da913dba" type:Table Layer owner:arcgis_python>,
<Item title:"6cf4c07182ef44c3b8d0f64f28a8fd7e" type:Feature Layer Collection owner:arcgis_python>,
Any assistance would be greatly appreciated.