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.1.tar.gz
(3.8 kB
view details)
File details
Details for the file arcgis-sdk-0.0.1.tar.gz.
File metadata
- Download URL: arcgis-sdk-0.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c80a1acbee80e6e3ee223f3a6c520ae22f11ac6f05ac940c594bb62da3561ddc
|
|
| MD5 |
528b9f7c31258043c3eb3bb21bc6f149
|
|
| BLAKE2b-256 |
c7b1368d6a53572bbd002f299b30099b8304c4190add78264e89d76d44ea4623
|