arcgis.gis.agoserver module¶
AGOLServicesDirectory¶
-
class
arcgis.gis.agoserver.
AGOLServicesDirectory
(url, gis)¶ Bases:
object
The ArcGIS Online Services Directory displays the hosted services for a site.
Parameter
Description
url
Required String. The url string to the ArcGIS Online Server
gis
Required GIS. The connection to ArcGIS Online.
-
property
folders
¶ Returns a list of folder names
- Returns
List
-
property
properties
¶ Returns the server’s properties
- Returns
InsensitiveDict
-
property
services
¶ returns a list of services hosted on ArcGIS Online Server
-
property
AGOLServersManager¶
-
class
arcgis.gis.agoserver.
AGOLServersManager
(gis)¶ Bases:
object
This class allows users to work with hosted tile and feature services on ArcGIS Online.
Parameter
Description
gis
Required GIS. The connection to ArcGIS Online.
-
property
feature_server
¶ returns a list of Feature Administrative Servers
-
list
()¶ Returns a list of all server managers
- Returns
List[
AGOLServerManager
]
-
property
properties
¶ Returns the properties of the server
- Returns
InsensitiveDict
-
property
tile_server
¶ returns a list of Tile Administrative Servers
-
property
AGOLServerManager¶
-
class
arcgis.gis.agoserver.
AGOLServerManager
(url, gis)¶ Bases:
object
Represents a Single AGO Server
Parameter
Description
url
Required String. The url string to the ArcGIS Online Server
gis
Required GIS. The connection to ArcGIS Online.
-
get
(name)¶ Returns a single service manager.
Parameter
Description
name
Required String. The name of the service.
-
property
is_tile_server
¶ Returns if the server if hosting tiles or not
- Returns
bool
-
property
properties
¶ Returns the server’s properties. This call is cached for 25 seconds.
- Returns
Dict
-
property
services
¶ Returns the Administrative Endpoints
- Returns
list
-
status
(name)¶ Returns the status of a given service by name.
Parameter
Description
name
Required String. The name of the service.
- Returns
string
-