How the API is structured
The API is contained in and distributed as the arcgis
package. The arcgis
package is composed of 13 (at the time of this writing) modules, each one focused on a different aspect of the GIS. The following diagram shows the modules and how they can be grouped together by functionality:
Let's briefly discuss what each of these modules does for us:
- gis: This provides an entry point in the GIS hosted within ArcGIS Online or Portal for ArcGIS. It manages users, groups, and content. It's a very important module for administrators.
- env: This stores environmental and global settings, such as the currently active GIS, the default geocoder, and output spatial reference.
- geocoding: This provides functionality for geocoding.
- geoprocessing: This allows us to import geoprocessing toolboxes as native Python modules, making the functions in the tools callable.
- geometry: This provides functions for working with geometries and converting them between different representations.
- mapping: This...