AnsweredAssumed Answered

How do I get to the Server Object?

Question asked by g3martin on Jan 17, 2018
Latest reply on Feb 28, 2018 by cmathers

I am using the Python API version 1.3 (I double checked) and get the following error when trying to create a Server object.

import arcgis
testServer = arcgis.gis.server.Server('myserverurl', username='myusername', password='safepassword')

 

AttributeError: module 'arcgis.gis' has no attribute 'server'

 

Is this not how you are supposed to use it?

Outcomes