In my ArcGIS API for Python script I need to search for Feature Services, but need to exclude some of these from my query (or if necessary, ignore them in the results of the query) based on a few criteria. I've been able to exclude views as:
agol_feature_services = gis.content.search(query=f"NOT typekeywords:View Service", max_items=10000, item_type="Feature Service")
However, I also need to exclude Oriented Imagery Layers (OILs). Is there any way to query a Feature Service item to determine if it is for an OIL?
If I can't include this in the query (as above), can I do it later when I loop through the query results like below?
for fs_item in agol_feature_services: