Can I make a connection using this API to ArcGIS Server 10.3 (without Portal)?
Or can I only connect to Portal or AGOL?
You didn't indicate whether you had seen the reference guides or the api reference
I have read those but it seems to imply ArcGIS Enterprise meaning ArcGIS Server is behind Portal.
E.g. the output from below is ArcGIS Online so I'm getting through the proxy ok
from arcgis.gis import GISgis = GIS(proxy_host="proxyuser:proxypassword@proxyipaddress",proxy_port=8080)print(gis.properties.portalName)
from arcgis.gis import GISgis = GIS("https://featureservices.thelist.tas.gov.au/arcgis","serviceusername","servicepassword",proxy_host="proxyuser:proxypassword@proxyipaddress",proxy_port=8080,verify_cert=False)print(gis.properties.portalName)
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py in __init__(self, url, username, password, key_file, cert_file, verify_cert, set_active, client_id, profile, **kwargs) 257 client_id=self._client_id) 258 except Exception as e: --> 259 if str(type(e.args)) == "<class 'ssl.SSLError'>": 260 raise RuntimeError("An untrusted SSL error occurred when attempting to connect to the provided GIS.\n" 261 "If you trust this server and want to proceed, add 'verify_cert=False' as an "IndexError: tuple index out of range
Retrieving data ...