From the course: Python Scripting Using the ArcGIS API for Python
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Understanding helper classes: Working with content and users
From the course: Python Scripting Using the ArcGIS API for Python
Understanding helper classes: Working with content and users
- [Instructor] Let's walk through a little bit of code to look at some of the objects in the Arc GIS API, along with their properties and methods. There are some special properties that return these things, called helper objects. It's really important to understand this concept of helper objects to get good with the Arc GIS API. I have the Arc GIS API reference open here. The Arc GIS API modules consist of classes of objects, like the GIS class and the item class. And these classes of objects, of course have properties and methods, and as is common in Python, some of these properties return objects themselves, which in turn have their own properties and methods. In the Arc GIS API, there's some very important examples of this that are called helper classes. These objects are created automatically when you create the parent object. For example, when I create a GIS object, the GIS.users property returns a user manager object. And I can use that to create and delete users, change roles…
Contents
-
-
-
ArcGIS Python libraries: ArcPy and the ArcGIS API for Python5m 9s
-
(Locked)
Accessing the ArcGIS API for Python4m 16s
-
(Locked)
ArcGIS notebooks: A development environment7m 36s
-
(Locked)
Creating a notebook and using Markdown cells7m 30s
-
(Locked)
The basics of ArcGIS Notebooks for writing code8m 13s
-
(Locked)
The GIS object and connecting to ArcGIS Online anonymously7m 41s
-
(Locked)
Connecting to your organization's ArcGIS Online account6m 37s
-
(Locked)
Understanding helper classes: Working with content and users5m 41s
-
-
-
-
-
-