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
Release history Release notifications | RSS feed
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.16.0.post492.zip
(31.6 kB
view details)
Built Distribution
File details
Details for the file isogeo-pysdk-2.16.0.post492.zip
.
File metadata
- Download URL: isogeo-pysdk-2.16.0.post492.zip
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd6f3027dcc3fed1f47b039b278d574c8c148f36e8b34b5d9484384bd22f0bd9 |
|
MD5 | 7c28b76f31528b0dabfd60ff28f5d808 |
|
BLAKE2b-256 | c9f3d2a9273479a5e195aba4a383e87d2e7b8a2cca0d8bce1e8de1c208d2c6e3 |
File details
Details for the file isogeo_pysdk-2.16.0.post492-py2.py3-none-any.whl
.
File metadata
- Download URL: isogeo_pysdk-2.16.0.post492-py2.py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2051324124a58dad62eb67056e4f6cd941852c1dca731e0edda742ddaa274694 |
|
MD5 | 482b136d6e04cfc4bb6b124da74ebfb7 |
|
BLAKE2b-256 | 880ab8da3ae1998ddfb542ce8936c2a9fa5a40cfdb05df304f83b5b35f53b794 |