Skip to main content

mudab

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: 0.2.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python >= 3.6

Installation & Usage

pip install

pip install deutschland[mudab]

poetry install

poetry add deutschland -E mudab

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Usage

Import the package:

from deutschland import mudab

Getting Started

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.list_mess_stationen200_response import ListMessStationen200Response
from deutschland.mudab.model.list_messwerte_plc200_response import ListMesswertePlc200Response
from deutschland.mudab.model.list_parameter200_response import ListParameter200Response
from deutschland.mudab.model.list_parameter_values200_response import ListParameterValues200Response
from deutschland.mudab.model.list_parameters_biologie200_response import ListParametersBiologie200Response
from deutschland.mudab.model.list_parameters_biota200_response import ListParametersBiota200Response
from deutschland.mudab.model.list_parameters_plc200_response import ListParametersPlc200Response
from deutschland.mudab.model.list_parameters_sediment200_response import ListParametersSediment200Response
from deutschland.mudab.model.list_parameters_wasser200_response import ListParametersWasser200Response
from deutschland.mudab.model.list_plc_stations200_response import ListPlcStations200Response
from deutschland.mudab.model.list_projekt_stationen200_response import ListProjektStationen200Response
# 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)

Documentation for API Endpoints

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_messwerte_plc POST /V_MESSWERTE_PLC Liste aller Messwerte der gefilterten PLC Stationen
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_plc POST /V_GEMESSENE_PARA_PLC Liste aller Parameter der PLC Stationen
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

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

kontakt@bund.dev

Notes for Large OpenAPI documents

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 *

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

de_mudab-0.2.0.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

de_mudab-0.2.0-py3-none-any.whl (107.9 kB view details)

Uploaded Python 3

File details

Details for the file de_mudab-0.2.0.tar.gz.

File metadata

  • Download URL: de_mudab-0.2.0.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for de_mudab-0.2.0.tar.gz
Algorithm Hash digest
SHA256 52a5eb81f5789bf7906ef192ad5b4ed965b37f3c055eb4245619b761c85d007e
MD5 75da000bb6b37e8dfae9aed60d818dd5
BLAKE2b-256 5bed8c2078e8813aa7be5bfa7e69c1e254e19e7120204489916ef10150103bc7

See more details on using hashes here.

File details

Details for the file de_mudab-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: de_mudab-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 107.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for de_mudab-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 002c1a6cd6db0439048a54e11a28ae20aa1e4b7ac142ac5a573cc1e12be8d782
MD5 273aa516d2e3dc0ba28d90cbc2f7e3c1
BLAKE2b-256 b07ae600009bc2143fc17278ff7848dda69be4581c298eb877d515c36591ffb9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page