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.post450
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.post450.tar.gz | 24.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isogeo_pysdk-2.17.0.post450-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 44.7 kB
Release files / isogeo-pysdk-2.17.0.post450.tar.gz
| Download URL | isogeo-pysdk-2.17.0.post450.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6d5335d88e96fdd86a63d333d0ee9297245b303452a6f81fa5e446d709d623e
|
|
BLAKE2b-256 checksum How to use checksums |
cb6f1032f47ff5ac5a203f073642c5deb132915d89fbcdf9013869baa31fc3b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / isogeo_pysdk-2.17.0.post450-py2.py3-none-any.whl
| Download URL | isogeo_pysdk-2.17.0.post450-py2.py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
66d35a9dbe8cc3dab99d27f345566aed3fd2db7dbe778fa86f96e701a00656c4
|
|
BLAKE2b-256 checksum How to use checksums |
0d4953bb93e55d5d3f8ce1f4b29136581b7ce9b21c172afdd740197b2d91a0f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |