Package: sekm-pump
sekm-pumpSEKM analytical data APIThis Python package is automatically generated by theSwagger Codegenproject:API version: 1.0.0Package version: 1.0.0.009Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegenRequirements.Python 3.9+Installation & UsageIf the python package is hosted on PyPi, you can install directlypipinstallsekm-pumpThen import the package:importsekm_pumpGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportsekm_pumpfromsekm_pump.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: apiKeyconfiguration=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 classapi_instance=sekm_pump.PublicApi(sekm_pump.ApiClient(configuration))out_format='out_format_example'# str | Formát výstupního datasetua3p4=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 lokalitapi_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)exceptApiExceptionase:print("Exception when calling PublicApi->get_location:%s\n"%e)# Configure API key authorization: apiKeyconfiguration=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 classapi_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 GeoJsonapi_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)exceptApiExceptionase:print("Exception when calling PublicApi->get_location_geo_json:%s\n"%e)# create an instance of the API classapi_instance=sekm_pump.PublicApi(sekm_pump.ApiClient(configuration))try:# Získá status klientaapi_response=api_instance.get_status()pprint(api_response)exceptApiExceptionase:print("Exception when calling PublicApi->get_status:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://sekm.cz/SYSNET/SEKM_Pump/1.0.0ClassMethodHTTP requestDescriptionPublicApiget_locationGET/location/{out_format}Získá analytická data lokalitPublicApiget_location_geo_jsonGET/location_layer/{geom}Získá vrstvu lokalit v GeoJsonPublicApiget_statusGET/statusZíská status klientaDocumentation For ModelsThreeStateTypeDocumentation For AuthorizationapiKeyType: API keyAPI key parameter name: X-API-KEYLocation: HTTP headerAuthorinfo@sysnet.cz