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.9.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for arcgis_sdk-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aaff795b4d0a2cc164199dea3019129f6d261fe82b1f275700f21b1df22e6e1 |
|
MD5 | 3ca9999b085bf603b4841c59fda96dcc |
|
BLAKE2b-256 | 4e593e92a36193f0a7b22c025111c6b4b984347f0e7371d3f03b1b69c09cbaa6 |