Skip to main content

Abstraction class to use Isogeo REST API

Project description

Python minimalist SDK to use Isogeo REST API

Lib still under development. Unofficial.

Installing

To use:

pip install isogeo-pysdk

For developers:

git clone git@github.com:Guts/isogeo-api-py-minsdk.git
cd isogeo-api-py-minsdk
python setup.py install

Getting Help

There is a basic documentation about the Isogeo API.

Sample

from isogeo_pysdk import Isogeo
isogeo = Isogeo(client_id=share_id,
                client_secret=share_token)

# check which sub resources are available
print(isogeo.sub_resources_available)
print(isogeo.tr_types_label_fr)

# getting a token
jeton = isogeo.connect()

search = isogeo.search(jeton)

print(search.keys())
print(search.get('query'))
print("Total count of metadatas shared: ", search.get("total"))
print("Count of resources got by request: {}\n".format(len(search.get("results"))))

Others samples are available in the source repository.

Project details


Download files

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

Source Distribution

isogeo-pysdk-2.17.0.post441.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl (19.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file isogeo-pysdk-2.17.0.post441.tar.gz.

File metadata

File hashes

Hashes for isogeo-pysdk-2.17.0.post441.tar.gz
Algorithm Hash digest
SHA256 2d09f0969c6d3d1c03075317e9fa3497faf2f7d092cf74426473a7d037271d38
MD5 6763922a9a41f4b99a4716109e3ec7ba
BLAKE2b-256 dc274ea916e18c9fb43bf50585fa1703750a2f37c3869e31fcc5f10d4d4b09aa

See more details on using hashes here.

File details

Details for the file isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4df7956c9d6098daf70e33ba80387ace3f7133719e6cf0698fe29c9b53ebe7d2
MD5 2fa4ef3009576fa8aa99150a80d8973a
BLAKE2b-256 12dfad504a89827fbf3ea93bf4058ce54e95c74a6e01db9cc85b9d197984cb72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page