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.8.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb0b9668b359ab319360fee459d7e1e495c8dcf3a0e8a31c99cd76f90eaa0f0 |
|
MD5 | ec47cb1f603365fac89b870d5360e79d |
|
BLAKE2b-256 | 71e7559a5e5499f676ed96d702770682ec16e5678768172e7c886425089893e5 |