Package: de-mudab
mudabMeeres-Monitoringdaten von Küstenbundesländern und ForschungseinrichtungenThis Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.0.0Package version: 0.1.0Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python >= 3.6Installation & Usagepip installpipinstalldeutschland[mudab]poetry installpoetryadddeutschland-EmudabSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)UsageImport the package:fromdeutschlandimportmudabGetting StartedPlease follow theinstallation procedureand then run the following:importtimefromdeutschlandimportmudabfrompprintimportpprintfromdeutschland.mudab.apiimportdefault_apifromdeutschland.mudab.model.filter_requestimportFilterRequestfromdeutschland.mudab.model.inline_response200importInlineResponse200fromdeutschland.mudab.model.inline_response2001importInlineResponse2001fromdeutschland.mudab.model.inline_response2002importInlineResponse2002fromdeutschland.mudab.model.inline_response2003importInlineResponse2003fromdeutschland.mudab.model.inline_response2004importInlineResponse2004fromdeutschland.mudab.model.inline_response2005importInlineResponse2005fromdeutschland.mudab.model.inline_response2006importInlineResponse2006fromdeutschland.mudab.model.inline_response2007importInlineResponse2007fromdeutschland.mudab.model.inline_response2008importInlineResponse2008# Defining the host is optional and defaults to https://geoportal.bafg.de/MUDABAnwendung/rest/BaseController/FilterElements# See configuration.py for a list of all supported configuration parameters.configuration=mudab.Configuration(host="https://geoportal.bafg.de/MUDABAnwendung/rest/BaseController/FilterElements")# Enter a context with an instance of the API clientwithmudab.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=default_api.DefaultApi(api_client)filter_request=FilterRequest(filter=Filter(_or=FilterAction(col="col_example",op="op_example",value="value_example",),_and=FilterAction(col="col_example",op="op_example",value="value_example",),),range=Range(_from=1,count=1,),orderby=Orderby(col="col_example",dir="asc",),)# FilterRequest |  (optional)try:# Liste aller Messstationenapi_response=api_instance.list_mess_stationen(filter_request=filter_request)pprint(api_response)exceptmudab.ApiExceptionase:print("Exception when calling DefaultApi->list_mess_stationen:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://geoportal.bafg.de/MUDABAnwendung/rest/BaseController/FilterElementsClassMethodHTTP requestDescriptionDefaultApilist_mess_stationenPOST/STATION_SMALLListe aller MessstationenDefaultApilist_parameterPOST/MV_PARAMETERListe aller ParameterDefaultApilist_parameter_valuesPOST/MV_STATION_MSMNTListe aller MesswerteDefaultApilist_parameters_biologiePOST/MV_PARAMETER_BIOLOGIEListe aller Parameter im Biologie KompartimentDefaultApilist_parameters_biotaPOST/MV_PARAMETER_BIOTAListe aller Parameter im Biota KompartimentDefaultApilist_parameters_sedimentPOST/MV_PARAMETER_SEDIMENTListe aller Parameter im Sediment KompartimentDefaultApilist_parameters_wasserPOST/MV_PARAMETER_WASSERListe aller Parameter im Wasser KompartimentDefaultApilist_plc_stationsPOST/V_PLC_STATIONListe aller HELCOM PLC StationenDefaultApilist_projekt_stationenPOST/PROJECTSTATION_SMALLListe aller Projekt StationenDocumentation For ModelsCompartmentFilterFilterActionFilterRequestHelcomPLCStationInlineResponse200InlineResponse2001InlineResponse2002InlineResponse2003InlineResponse2004InlineResponse2005InlineResponse2006InlineResponse2007InlineResponse2008MessstationOrderbyParameterParameterValueProjectStationRangeDocumentation For AuthorizationAll endpoints do not require authorization.Authorkontakt@bund.devNotes for Large OpenAPI documentsIf the OpenAPI document is large, imports in mudab.apis and mudab.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:Solution 1:
Use specific imports for apis and models like:from deutschland.mudab.api.default_api import DefaultApifrom deutschland.mudab.model.pet import PetSolution 2:
Before importing the package, adjust the maximum recursion limit as shown below:import sys
sys.setrecursionlimit(1500)
from deutschland import mudab
from deutschland.mudab.apis import *
from deutschland.mudab.models import *