Meeres-Monitoringdaten von Küstenbundesländern und Forschungseinrichtungen
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python >= 3.6
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/bundesAPI/deutschland.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/bundesAPI/deutschland.git
)
Then import the package:
from deutschland import mudab
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
from deutschland import mudab
Please follow the installation procedure and then run the following:
import time
from deutschland import mudab
from pprint import pprint
from deutschland.mudab.api import default_api
from deutschland.mudab.model.filter_request import FilterRequest
from deutschland.mudab.model.inline_response200 import InlineResponse200
from deutschland.mudab.model.inline_response2001 import InlineResponse2001
from deutschland.mudab.model.inline_response2002 import InlineResponse2002
from deutschland.mudab.model.inline_response2003 import InlineResponse2003
from deutschland.mudab.model.inline_response2004 import InlineResponse2004
from deutschland.mudab.model.inline_response2005 import InlineResponse2005
from deutschland.mudab.model.inline_response2006 import InlineResponse2006
from deutschland.mudab.model.inline_response2007 import InlineResponse2007
from deutschland.mudab.model.inline_response2008 import InlineResponse2008
# 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 client
with mudab.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_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 Messstationen
api_response = api_instance.list_mess_stationen(filter_request=filter_request)
pprint(api_response)
except mudab.ApiException as e:
print("Exception when calling DefaultApi->list_mess_stationen: %s\n" % e)
All URIs are relative to https://geoportal.bafg.de/MUDABAnwendung/rest/BaseController/FilterElements
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | list_mess_stationen | POST /STATION_SMALL | Liste aller Messstationen |
DefaultApi | list_parameter | POST /MV_PARAMETER | Liste aller Parameter |
DefaultApi | list_parameter_values | POST /MV_STATION_MSMNT | Liste aller Messwerte |
DefaultApi | list_parameters_biologie | POST /MV_PARAMETER_BIOLOGIE | Liste aller Parameter im Biologie Kompartiment |
DefaultApi | list_parameters_biota | POST /MV_PARAMETER_BIOTA | Liste aller Parameter im Biota Kompartiment |
DefaultApi | list_parameters_sediment | POST /MV_PARAMETER_SEDIMENT | Liste aller Parameter im Sediment Kompartiment |
DefaultApi | list_parameters_wasser | POST /MV_PARAMETER_WASSER | Liste aller Parameter im Wasser Kompartiment |
DefaultApi | list_plc_stations | POST /V_PLC_STATION | Liste aller HELCOM PLC Stationen |
DefaultApi | list_projekt_stationen | POST /PROJECTSTATION_SMALL | Liste aller Projekt Stationen |
- Compartment
- Filter
- FilterAction
- FilterRequest
- HelcomPLCStation
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2003
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse2007
- InlineResponse2008
- Messstation
- Orderby
- Parameter
- ParameterValue
- ProjectStation
- Range
All endpoints do not require authorization.
If 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 DefaultApi
from deutschland.mudab.model.pet import Pet
Solution 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 *