GithubHelp home page GithubHelp logo

vovoma / arcrest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esri/arcrest

0.0 2.0 0.0 12.19 MB

python package for REST API (AGS, AGOL, webmap JSON, etc..)

License: Apache License 2.0

Jupyter Notebook 2.17% Python 97.83%

arcrest's Introduction

ArcREST Version 3.5.x

A latest release(v3.5.3) of ArcREST can be downloaded here: https://github.com/Esri/ArcREST/releases/tag/3.5.3

A set of python tools to assist working with ArcGIS REST API for ArcGIS Server (AGS), ArcGIS Online (AGOL), and ArcGIS WebMap JSON.

This is not a full implementation of the Esri REST API, but we would like to make it, so help out! Please feel free to contribute.

Features

  • Add, Delete, Update and Query Feature Services
  • Upload attachments to feature services
  • Assists in managing and publishing content
  • Allows users to control, migrate and update online content
  • Manage users on Portal, ArcGIS Server, and ArcGIS Online sites
  • Plus additional information not even listed here!

Documentation

The API reference is hosted here. The Esri portal API reference is hosted here

General Help

New to Github? Get started here.

Requirements

Recommended Installation

  • ArcPy (optional)
  • ArcGIS Desktop 10.2.x, 10.3.x (optional)
    • If ArcPy is not installed, there will be limited functionality.

Installation

  • Note: If you have not done so, you may need to add your python install path and scripts folder to your environment variables. In your system PATH environment variable, add both the path to Python and the Python Scripts folder. ex: C:\Python27\ArcGIS10.3;C:\Python27\ArcGIS10.3\Scripts
  1. Install requirements
  2. run the setup.py. This should copy it to your python's site-package folder.
pip install -r requirements.txt
python setup.py install

Getting Started

Fetch your folders:

import arcrest
from arcresthelper import securityhandlerhelper

config = {'username': 'myusername', 'password': 'myp4ssword'}
token = securityhandlerhelper.securityhandlerhelper(config)
admin = arcrest.manageorg.Administration(securityHandler=token.securityhandler)
content = admin.content
userInfo = content.users.user()
userInfo.folders

Get item metadata:

item = admin.content.getItem(itemId=itemId)
item.title
 u'Streets'

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.

PyPi

Please see our PyPi page.

Licensing

Copyright 2016 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 file.

[](Esri Tags: AGS AGOL ArcGIS Server ArcGIS Online Utilities Telecommunications ArcGISSolutions) [](Esri Language: Python)

arcrest's People

Contributors

achapkowski avatar adegwerth avatar adepottey avatar ajturner avatar alexarcpy avatar bnadler avatar brianjbaldwin avatar brunocaimar avatar clareprice avatar dshokes avatar ecaldwell avatar ernosson avatar frett27 avatar gassc avatar jbrander avatar joalvarez avatar mgayheart avatar mikemillergis avatar miketschudi avatar pemugi avatar pleblanc93 avatar slibby avatar thollingshead avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.