/ago-tools

A Python package to assist with administering ArcGIS Online Organizations.

Primary LanguagePythonApache License 2.0Apache-2.0

ago-tools

A Python package to assist with administering ArcGIS Online Organizations.

Features

  • Create a spreadsheet of all users in the org
  • Update map service urls in webmaps
  • Search for new users and add them to a list of groups
  • Move (migrate) all items between accounts (single or batch)
  • Search a portal

Instructions

  1. Fork and then clone the repo.
  2. Run and try the samples.

Installation

  1. Unzip into a folder such as C:/myscripts

  2. Change the directory name from C:/myscripts/ago-tools-master to C:/myscripts/agoTools (name must not have dashes).

  3. Then do one of the following: A) add that directory to your system path -OR- B) append the directory at runtime using the sys module in python:

     import sys
     sys.path.append('c:/myscripts')
    

Samples

Admin Class

Utilities Class

Requirements

  • Python
  • Notepad or your favorite Python editor

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Please use the following style guides when contributing to this particular repo:

  • 4 spaces for indentation
  • 'singleQuotes' instead of "doubleQuotes"
  • publicFunction() vs __internalFunction__()`
  • # Place comments on their own line preceding the code they explain.

Licensing

Copyright 2013 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

[](Esri Tags: ArcGIS-Online Python Tools Library) [](Esri Language: Python)