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
Metadata
Release files for sekm-pump 1.0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sekm-pump-1.0.0.9.tar.gz | 26.8 kB | Without provenance | Details for sekm-pump-1.0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sekm_pump-1.0.0.9-py3-none-any.whl | Python 3 | none | any | Details for sekm_pump-1.0.0.9-py3-none-any.whl |
Total release size: 55.0 kB
Release files / sekm-pump-1.0.0.9.tar.gz
| Download URL | sekm-pump-1.0.0.9.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d288075c6801fddece7bbaaf7bcc555268a25d7a5b1d5c1f22ec614f1241ab36
|
|
BLAKE2b-256 checksum How to use checksums |
0a68c3001bafb10870f678dc1d6d55e561e5df2312e3adf3795f667aa0cfbe42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / sekm_pump-1.0.0.9-py3-none-any.whl
| Download URL | sekm_pump-1.0.0.9-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94fb3fa9d46e6cfa00dfa4164f8380b1867139f7f5f87e9a59546799ab4babb7
|
|
BLAKE2b-256 checksum How to use checksums |
28ab49d476857a376a2a852c68b955b68d9ebc5305e574404e75f0c842eadd81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for sekm-pump 1.0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.