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.
Release files for isogeo-pysdk 2.17.0.post441
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| isogeo-pysdk-2.17.0.post441.tar.gz | 24.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 43.8 kB
Release files / isogeo-pysdk-2.17.0.post441.tar.gz
| Download URL | isogeo-pysdk-2.17.0.post441.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d09f0969c6d3d1c03075317e9fa3497faf2f7d092cf74426473a7d037271d38
|
|
BLAKE2b-256 checksum How to use checksums |
dc274ea916e18c9fb43bf50585fa1703750a2f37c3869e31fcc5f10d4d4b09aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl
| Download URL | isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4df7956c9d6098daf70e33ba80387ace3f7133719e6cf0698fe29c9b53ebe7d2
|
|
BLAKE2b-256 checksum How to use checksums |
12dfad504a89827fbf3ea93bf4058ce54e95c74a6e01db9cc85b9d197984cb72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |