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
Release files for arcgis-sdk 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arcgis-sdk-0.0.12.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arcgis_sdk-0.0.12-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 10.9 kB
Release files / arcgis-sdk-0.0.12.tar.gz
| Download URL | arcgis-sdk-0.0.12.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
586606a2b18a96fc3a1b24b02dca21f3108a192f87f25083b93c842f2e89034a
|
|
BLAKE2b-256 checksum How to use checksums |
12f01d61033dc515436dd8cefe38614c5278b2c58f50ecc1aed2c725fd7f2e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / arcgis_sdk-0.0.12-py2-none-any.whl
| Download URL | arcgis_sdk-0.0.12-py2-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9725e0f126141424fe5bf53632181d490ac88834815db34fe473b3c7950b353a
|
|
BLAKE2b-256 checksum How to use checksums |
a50e5edef0efb4a44ee47f16d7ecf7a4796de440812c62cc452450f2befd6a53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |