Skip to main content

bundesrat

Bundesrat Informationen API

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 0.1.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python >= 3.6

Installation & Usage

pip install

pip install deutschland[bundesrat]

poetry install

poetry add deutschland -E bundesrat

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 bundesrat

Getting Started

Please follow the installation procedure and then run the following:

import time
from deutschland import bundesrat
from pprint import pprint
from deutschland.bundesrat.api import default_api
# Defining the host is optional and defaults to https://www.bundesrat.de
# See configuration.py for a list of all supported configuration parameters.
configuration = bundesrat.Configuration(
    host = "https://www.bundesrat.de"
)



# Enter a context with an instance of the API client
with bundesrat.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = default_api.DefaultApi(api_client)
    view = "renderXml" # str | Xml Ausabe

    try:
        # Mitglieder
        api_response = api_instance.i_os_shared_docs2_mitglieder_mitglieder_table_xml_get(view)
        pprint(api_response)
    except bundesrat.ApiException as e:
        print("Exception when calling DefaultApi->i_os_shared_docs2_mitglieder_mitglieder_table_xml_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://www.bundesrat.de

Class Method HTTP request Description
DefaultApi i_os_shared_docs2_mitglieder_mitglieder_table_xml_get GET /iOS/SharedDocs/2_Mitglieder/mitglieder_table.xml Mitglieder
DefaultApi i_os_shared_docs3_plenum_plenum_aktuelle_sitzung_table_xml_get GET /iOS/SharedDocs/3_Plenum/plenum_aktuelleSitzung_table.xml Plenum aktuelle Sitzung
DefaultApi i_os_shared_docs3_plenum_plenum_naechste_sitzungen_xml_get GET /iOS/SharedDocs/3_Plenum/plenum_naechsteSitzungen.xml Plenum nächste Sitzung
DefaultApi i_os_shared_docs3_plenum_plenum_to_chronologisch_table_xml_get GET /iOS/SharedDocs/3_Plenum/plenum_toChronologisch_table.xml Plenum Chronologisch
DefaultApi i_osv301_aktuelles_aktuelles_table_xml_get GET /iOS/v3/01_Aktuelles/aktuelles_table.xml Aktuelles
DefaultApi i_osv302_termine_termine_table_xml_get GET /iOS/v3/02_Termine/termine_table.xml Termine
DefaultApi i_osv303_plenum_plenum_kompakt_table_xml_get GET /iOS/v3/03_Plenum/plenum_kompakt_table.xml Plenum Kompakt
DefaultApi i_osv305_bundesrat_praesidium_bundesrat_praesidium_xml_get GET /iOS/v3/05_Bundesrat/Praesidium/bundesrat_praesidium.xml Präsidium
DefaultApi i_osv306_stimmen_stimmverteilung_xml_get GET /iOS/v3/06_Stimmen/stimmverteilung.xml Stimmverteilung
DefaultApi i_osv3_startlist_table_xml_get GET /iOS/v3/startlist_table.xml Übersicht API Endpunkte

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 bundesrat.apis and bundesrat.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.bundesrat.api.default_api import DefaultApi
  • from deutschland.bundesrat.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 bundesrat
from deutschland.bundesrat.apis import *
from deutschland.bundesrat.models import *

Metadata

Release files for de-bundesrat 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for de-bundesrat 0.1.0
File Size Uploaded
de-bundesrat-0.1.0.tar.gz 38.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for de-bundesrat 0.1.0
File Interpreter ABI Platform
de_bundesrat-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 79.8 kB

Release files / de-bundesrat-0.1.0.tar.gz

Download URL de-bundesrat-0.1.0.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d817a1e6f804ad06a3abb7283b5bca16c0293abecfaa3d9c05055b81d513386a
BLAKE2b-256 checksum
How to use checksums
6eecc18cdf8f7c94dece164e0aee331fd9dd6febb50e9b96b54ce98c7711d66a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.8

Release files / de_bundesrat-0.1.0-py3-none-any.whl

Download URL de_bundesrat-0.1.0-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
706eac95bc58125689da92f724101d18e685b4c6b1fff9a765bc688edf1bce09
BLAKE2b-256 checksum
How to use checksums
065c1d045a85bcab80fe7b055a679cd025e7f582065cad16bdbba4ae9dddb9d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page