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-0.2.16.post1.zip (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isogeo_pysdk-0.2.16.post1-py2.py3-none-any.whl (17.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file isogeo-pysdk-0.2.16.post1.zip.

File metadata

File hashes

Hashes for isogeo-pysdk-0.2.16.post1.zip
Algorithm Hash digest
SHA256 fd05f6dfdb0ba3840889af02650369d856667014ccad91c7ab5299ca1f5e8fa9
MD5 1189ab4d6d5257d7350e67945ad74f02
BLAKE2b-256 ec7719158cebca28a566d0335e353e18842e5a6ce135ad9c114fb51f79e728c6

See more details on using hashes here.

File details

Details for the file isogeo_pysdk-0.2.16.post1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for isogeo_pysdk-0.2.16.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3591e01bdcf40c89e027a381656212f8f6f5721110a830149a743d23ce975b59
MD5 3d8c86da54a89bd47b45238e4b7036c3
BLAKE2b-256 9552e7f5761e44701eac4392c02d131c2023e080440b190aee748d449a94b439

See more details on using hashes here.

Supported by

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