Skip to main content

Manage content and automate workflows with Python

The ArcGIS API for Python is a modern Python library that supports the latest releases of ArcGIS Enterprise and ArcGIS Online and provides a consistent programmatic experience for scripting and automating across the ArcGIS product suite.

The Python API enables key workflows, including the following:

  • Creating ArcGIS StoryMaps items in bulk

  • Scheduling updates to an ArcGIS StoryMaps item

  • Exporting or archiving an ArcGIS StoryMaps item along with its related items, such as web maps and web scenes

Most popular content blocks are supported, such as images, videos, maps, and embeds. See the Python API documentation for a complete list of supported blocks and capabilities.

Samples

There are several example Python scripts and notebooks created by the ArcGIS StoryMaps team available on GitHub. These can be used to learn patterns for using the Python API with ArcGIS StoryMaps.

  • Sample notebooks—Python notebooks that can be run in the ArcGIS Notebooks environment to perform a number of utility functions related to story management, authoring, and more

  • Script: Find related items—A Python script tool that uses the ArcGIS API for Python to inventory the content in your ArcGIS organization and detect relationships between these items and other content

Additional resources