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.6.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc0dd5bcf312031f90f5e3f35196a6dd2e9579064c68b4fda89d28e589c45587 |
|
MD5 | e380d923fc1b80c52c1a740ce23b813f |
|
BLAKE2b-256 | 0fd874e0becf81b44055fe277bbf2c391a9bdd6256d5b66da23cf3571c38bc54 |