SYSNET SEKM Pump REST API client
Project description
sekm-pump
SEKM analytical data API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0.009
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 3.9+
Installation & Usage
If the python package is hosted on PyPi, you can install directly
pip install sekm-pump
Then import the package:
import sekm_pump
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import sekm_pump
from sekm_pump.rest import ApiException
from pprint import pprint
# Configure API key authorization: apiKey
configuration = sekm_pump.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'
# create an instance of the API class
api_instance = sekm_pump.PublicApi(sekm_pump.ApiClient(configuration))
out_format = 'out_format_example' # str | Formát výstupního datasetu
a3p4 = sekm_pump.ThreeStateType() # ThreeStateType | Lokality s prioritou pro průzkum a pro sanaci (optional)
sa = sekm_pump.ThreeStateType() # ThreeStateType | Lokality poškozené Sovětskou armádou (optional)
excluded = sekm_pump.ThreeStateType() # ThreeStateType | Vyloučené lokality (optional)
indications = sekm_pump.ThreeStateType() # ThreeStateType | Indicie (optional)
name = 'name_example' # str | Název lokality (optional)
territory = 'territory_example' # str | katastrální území (cadastral territory) (optional)
region = 'region_example' # str | Kraj (VÚSC) (optional)
municipality = 'municipality_example' # str | Obec s rozšířenou působností (ORP) (optional)
try:
# Získá analytická data lokalit
api_response = api_instance.get_location(out_format, a3p4=a3p4, sa=sa, excluded=excluded, indications=indications, name=name, territory=territory, region=region, municipality=municipality)
pprint(api_response)
except ApiException as e:
print("Exception when calling PublicApi->get_location: %s\n" % e)
# Configure API key authorization: apiKey
configuration = sekm_pump.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'
# create an instance of the API class
api_instance = sekm_pump.PublicApi(sekm_pump.ApiClient(configuration))
geom = 'geom_example' # str | geometrie vrstvy (bod/polygon)
a3p4 = sekm_pump.ThreeStateType() # ThreeStateType | Lokality s prioritou pro průzkum a pro sanaci (optional)
sa = sekm_pump.ThreeStateType() # ThreeStateType | Lokality poškozené Sovětskou armádou (optional)
excluded = sekm_pump.ThreeStateType() # ThreeStateType | Vyloučené lokality (optional)
indications = sekm_pump.ThreeStateType() # ThreeStateType | Indicie (optional)
name = 'name_example' # str | Název lokality (optional)
territory = 'territory_example' # str | katastrální území (cadastral territory) (optional)
region = 'region_example' # str | Kraj (VÚSC) (optional)
municipality = 'municipality_example' # str | Obec s rozšířenou působností (ORP) (optional)
try:
# Získá vrstvu lokalit v GeoJson
api_response = api_instance.get_location_geo_json(geom, a3p4=a3p4, sa=sa, excluded=excluded, indications=indications, name=name, territory=territory, region=region, municipality=municipality)
pprint(api_response)
except ApiException as e:
print("Exception when calling PublicApi->get_location_geo_json: %s\n" % e)
# create an instance of the API class
api_instance = sekm_pump.PublicApi(sekm_pump.ApiClient(configuration))
try:
# Získá status klienta
api_response = api_instance.get_status()
pprint(api_response)
except ApiException as e:
print("Exception when calling PublicApi->get_status: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://sekm.cz/SYSNET/SEKM_Pump/1.0.0
| Class | Method | HTTP request | Description |
|---|---|---|---|
| PublicApi | get_location | GET /location/{out_format} | Získá analytická data lokalit |
| PublicApi | get_location_geo_json | GET /location_layer/{geom} | Získá vrstvu lokalit v GeoJson |
| PublicApi | get_status | GET /status | Získá status klienta |
Documentation For Models
Documentation For Authorization
apiKey
- Type: API key
- API key parameter name: X-API-KEY
- Location: HTTP header
Author
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sekm-pump-1.0.0.9.tar.gz.
File metadata
- Download URL: sekm-pump-1.0.0.9.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d288075c6801fddece7bbaaf7bcc555268a25d7a5b1d5c1f22ec614f1241ab36
|
|
| MD5 |
31083e91726d65a4528b6000fc9a2bc1
|
|
| BLAKE2b-256 |
0a68c3001bafb10870f678dc1d6d55e561e5df2312e3adf3795f667aa0cfbe42
|
File details
Details for the file sekm_pump-1.0.0.9-py3-none-any.whl.
File metadata
- Download URL: sekm_pump-1.0.0.9-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94fb3fa9d46e6cfa00dfa4164f8380b1867139f7f5f87e9a59546799ab4babb7
|
|
| MD5 |
f72ecfc7ba5a94979cb041b28909f922
|
|
| BLAKE2b-256 |
28ab49d476857a376a2a852c68b955b68d9ebc5305e574404e75f0c842eadd81
|