Does anyone know how to search services, such as a Feature Layer, on a standalone ArcGIS server through ArcGIS API for Python? For example, I am trying to access and list services published at https://geoappext.nrcan.gc.ca/arcgis/rest/services/ by using gis.content.search but with no luck.
I have been using this code:
gis = GIS()
items = gis.content.search(query="NRCAN",item_type="Feature Layer", max_items=10000)
I do get some of the services back as items but 'search' casts a too wide net, grabbing services that are not on that server as well, which then due to the max_items cap of 10,000 results in many of the services on the stated server not caught and returned as items. I would like to have only the feature layer services on the stated server returned as items, no other services.
Any help would be much appreciated, thank you.