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.5.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147c1fad0cce0e35ada6f2ee986701fd85e084081ccb87303b999fc084b0aa66 |
|
MD5 | dc7aa0c03eac3a76e594ff07b5075d46 |
|
BLAKE2b-256 | 1b44cc5a04d3e7c3505bd2050b91ef3e9f73d655277b41a0df414dc507d68e8e |