Can someone tell me how to add a arcgisArcGIS FeatureServer to a QgisQGIS plugin? I've found a post here on how to add maplayers which is simple enough but I can't find an description on how to do the same for FeatureServer layers. I'm trying to build a plugin to load a large number of various wmsWMS, wfsWFS, maplayer, featureserver datasets in QgisQGIS without having to manually load them.
maplayer syntax that works:
iface.addRasterLayer("url='my_featuere_layer_url' layer='0'", "mylayer", "arcgismapserver")
iface.addRasterLayer("url='my_featuere_layer_url' layer='0'", "mylayer", "arcgismapserver")