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 --user 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 API keys

Send us your request by email.

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.post452.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

isogeo_pysdk-2.17.0.post452-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for isogeo-pysdk-2.17.0.post452.tar.gz
Algorithm Hash digest
SHA256 1ebdbcb85427c54d6142de31689d2534c5994b1184b01cd5f177532b9dfcf151
MD5 1c60a6066752df5ecb5017a8e86a888c
BLAKE2b-256 902be26a95b97d6a52e94a9043e2dec1261e464497dc30031abe1f9a331c72d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for isogeo_pysdk-2.17.0.post452-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b399f1b8a61afe27a1eb9e1f9c06acdc6cbd5a5169191635a296b14c2c4a025
MD5 ca6446417ffe48d4703a2b8a9904dffb
BLAKE2b-256 c37a456e96255ebbd3a43006eb45c066854b9ad517f7e2ea283f9b83a4e8a35c

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