Bundesrat: Live Informationen
Project description
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
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 *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file de-bundesrat-0.1.0.tar.gz
.
File metadata
- Download URL: de-bundesrat-0.1.0.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d817a1e6f804ad06a3abb7283b5bca16c0293abecfaa3d9c05055b81d513386a |
|
MD5 | f86855c53449ba4aef1db84d4233e022 |
|
BLAKE2b-256 | 6eecc18cdf8f7c94dece164e0aee331fd9dd6febb50e9b96b54ce98c7711d66a |
File details
Details for the file de_bundesrat-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: de_bundesrat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 40.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706eac95bc58125689da92f724101d18e685b4c6b1fff9a765bc688edf1bce09 |
|
MD5 | 4495c75e216f65e691ccdee002fed5bb |
|
BLAKE2b-256 | 065c1d045a85bcab80fe7b055a679cd025e7f582065cad16bdbba4ae9dddb9d6 |