Python minimalist SDK to use Isogeo REST API
Lib still under development. Unofficial.
Installing
To use:
pip install --user 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 API keys
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.post452
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.post452.tar.gz | 26.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isogeo_pysdk-2.17.0.post452-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 51.3 kB
Release files / isogeo-pysdk-2.17.0.post452.tar.gz
| Download URL | isogeo-pysdk-2.17.0.post452.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ebdbcb85427c54d6142de31689d2534c5994b1184b01cd5f177532b9dfcf151
|
|
BLAKE2b-256 checksum How to use checksums |
902be26a95b97d6a52e94a9043e2dec1261e464497dc30031abe1f9a331c72d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / isogeo_pysdk-2.17.0.post452-py2.py3-none-any.whl
| Download URL | isogeo_pysdk-2.17.0.post452-py2.py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1b399f1b8a61afe27a1eb9e1f9c06acdc6cbd5a5169191635a296b14c2c4a025
|
|
BLAKE2b-256 checksum How to use checksums |
c37a456e96255ebbd3a43006eb45c066854b9ad517f7e2ea283f9b83a4e8a35c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |