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.4.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac40c7e6c37e7bd517cea1e67fbb52b672fff1a936f0310b5e9ec87a5d178f2e |
|
MD5 | 6df4b4dfc5815054ab1955213cc8c7d1 |
|
BLAKE2b-256 | 272276fb94c6496f6d666bdc9efa1bec2ce0405ea3b3089d90b0cfacac72782b |