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.3.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f892a204526750608771ce7d5ff00a098d0d60536544b2c82c41cdb88c3162c7 |
|
MD5 | 50371e8f187229adfdde4022b7d76376 |
|
BLAKE2b-256 | a481594d01c8e18b55a0960a1088f616b912b847a687f8327caa4133a87267c8 |