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.16.0.post493
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.16.0.post493.zip | 31.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isogeo_pysdk-2.16.0.post493-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 48.8 kB
Release files / isogeo-pysdk-2.16.0.post493.zip
| Download URL | isogeo-pysdk-2.16.0.post493.zip |
|---|---|
| Size | 31.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ff4a1ffacf206aa7667de1860a00821d13674ca2c16e545222d154f506f01ff
|
|
BLAKE2b-256 checksum How to use checksums |
3422da3147a1f9fb3a821b2d7129e18821e1c2b297f820c805ec452cf8b0adf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / isogeo_pysdk-2.16.0.post493-py2.py3-none-any.whl
| Download URL | isogeo_pysdk-2.16.0.post493-py2.py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
72ea9ae4afea8accca16dd97de756ba05db3bf061c2e9c650882b20e747f6990
|
|
BLAKE2b-256 checksum How to use checksums |
28440bb3b24f97927892532efe409afae5e1e7afa70ab11fcfd51e4e4caa4eff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |