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
Built Distribution
File details
Details for the file isogeo-pysdk-2.17.0.post441.tar.gz
.
File metadata
- Download URL: isogeo-pysdk-2.17.0.post441.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d09f0969c6d3d1c03075317e9fa3497faf2f7d092cf74426473a7d037271d38 |
|
MD5 | 6763922a9a41f4b99a4716109e3ec7ba |
|
BLAKE2b-256 | dc274ea916e18c9fb43bf50585fa1703750a2f37c3869e31fcc5f10d4d4b09aa |
File details
Details for the file isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl
.
File metadata
- Download URL: isogeo_pysdk-2.17.0.post441-py2.py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df7956c9d6098daf70e33ba80387ace3f7133719e6cf0698fe29c9b53ebe7d2 |
|
MD5 | 2fa4ef3009576fa8aa99150a80d8973a |
|
BLAKE2b-256 | 12dfad504a89827fbf3ea93bf4058ce54e95c74a6e01db9cc85b9d197984cb72 |