Bundesrat Informationen API
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 bundesrat
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 bundesrat
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)
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 |
All endpoints do not require authorization.
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 *