Python SDK for Arcgis API
Project description
Python SDK for Arcgis API
Installation
Install from Pypi.
pip install arcgis-sdk
Quick start
Client
>>> import arcgis_sdk
>>> client = arcgis_sdk.ArcgisAPI('access_token')
>>> client.self()
Exceptions
>>> try:
... client.add_item(
... username='mongkok',
... title='my item',
... type='Web Mapping Application'
... )
... except arcgis_sdk.ArcgisAPIError as err:
... print(err.message)
Refresh the token
>>> client.refresh_token('client_id', 'refresh_token')
Tests
make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arcgis-sdk-0.0.12.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.12-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9725e0f126141424fe5bf53632181d490ac88834815db34fe473b3c7950b353a |
|
MD5 | 41aafd56ccb2d07440af5704d0c57097 |
|
BLAKE2b-256 | a50e5edef0efb4a44ee47f16d7ecf7a4796de440812c62cc452450f2befd6a53 |