ArcGIS Server Python Client

This library provides a client interface to the REST API on ArcGIS Server 10.2.x

Source code is available in Bitbucket.

Requirements

  • requests

Server Administration

Geoprocessing Tasks

Properties

class ags.base.Properties(**kwargs)

Base class for organizing and serializing service/server/description properties.

get_data()

Returns a dictionary representing this description.

get_properties()

Returns a dictionary of service definition properties properties for this service with optional default values. For example:

{
    'service_name': 'serviceName',
    'format': ('f', "json")  # Default value will be 'json'
}
set_from_dictionary(d)

Set properties form a dictionary. Keys are expected to be the API name, not the Python name.

class ags.admin.services.base.ServiceDefinition(**kwargs)

Generic ServiceDefinition

class ags.admin.services.base.ServiceExtension(**kwargs)

Service extension description

class ags.admin.services.base.ServiceItemInfo(**kwargs)

Service iteminfo

class ags.admin.services.base.ServiceStatus(**kwargs)

Service status information

class ags.admin.services.mapserver.DynamicDataWorkspaceDefinition(**kwargs)
class ags.admin.services.mapserver.MapServerDefinition(**kwargs)
class ags.admin.services.mapserver.MapServerProperties(**kwargs)

MapServer properteries

class ags.admin.uploads.UploadItem(**kwargs)

Upload item properties