Skip to main content

Python SDK for Arcgis API

Project description

Pypi Wheel Build Status Codecov Code Climate

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for arcgis-sdk, version 0.0.12
Filename, size File type Python version Upload date Hashes
Filename, size arcgis_sdk-0.0.12-py2-none-any.whl (4.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size arcgis-sdk-0.0.12.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page