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.10.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.10-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 595abba5c5fa49758babfd1ceb2a091472d23b42531940e321e484066218705f |
|
MD5 | 3ebcb27a42574c84bef6457e02da76dd |
|
BLAKE2b-256 | acc0e56eac465e12a8ad34f55c99d1ec96eb21323a44c6d041f5aaf6b53cdbd2 |