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

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

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.

Returns:

Union[VectorTileLayer, ImageryLayerCacheManager, SceneLayerManager, FeatureLayerCollectionManager, MapImageLayerManager]

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close