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.7.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f107b941d974e4e6432b952890aa9cda83aa22bae56fb85d420ae926c8c060 |
|
MD5 | 37915f2ad554731a26c11c378784d9ef |
|
BLAKE2b-256 | 6d570727960c20765fcde1037f3a1d054ec8031e1b33e9f52695194ca6db26c9 |