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.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21c820fcb442a574a849fd5f8dadbab0acf0ec79f151092ed83ca6d72b209d01 |
|
MD5 | 46de483d3ef7f912911683d6d326c142 |
|
BLAKE2b-256 | a672b64e9dd6a3de60821bac22c3c3996a061e8977ab52f3f6c867a2f6ddf357 |