bundestag-tagesordnung
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
Requirements.
Python >= 3.6
Installation & Usage
pip install
pip install deutschland[bundestag_tagesordnung]
poetry install
poetry add deutschland -E bundestag_tagesordnung
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 bundestag_tagesordnung
Getting Started
Please follow the installation procedure and then run the following:
import time
from deutschland import bundestag_tagesordnung
from pprint import pprint
from deutschland.bundestag_tagesordnung.api import default_api
# Defining the host is optional and defaults to https://api.hutt.io
# See configuration.py for a list of all supported configuration parameters.
configuration = bundestag_tagesordnung.Configuration(
host = "https://api.hutt.io"
)
# Enter a context with an instance of the API client
with bundestag_tagesordnung.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
year = 1 # int | Das Jahr, für das Tagesordnungen abgerufen werden sollen (optional) (optional)
week = 1 # int | Die Kalenderwoche, für die Tagesordnungen abgerufen werden sollen (optional; kann mit Jahr kombiniert werden) (optional)
try:
# Tagesordnungen im CSV-Format abrufen
api_response = api_instance.bt_to_csv_get(year=year, week=week)
pprint(api_response)
except bundestag_tagesordnung.ApiException as e:
print("Exception when calling DefaultApi->bt_to_csv_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.hutt.io
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | bt_to_csv_get | GET /bt-to/csv | Tagesordnungen im CSV-Format abrufen |
| DefaultApi | bt_to_ical_get | GET /bt-to/ical | Tagesordnungen im iCal-Format abrufen |
| DefaultApi | bt_to_json_get | GET /bt-to/json | Tagesordnungen im JSON-Format abrufen |
| DefaultApi | bt_to_xml_get | GET /bt-to/xml | Tagesordnungen im XML-Format abrufen |
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 bundestag_tagesordnung.apis and bundestag_tagesordnung.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.bundestag_tagesordnung.api.default_api import DefaultApifrom deutschland.bundestag_tagesordnung.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 bundestag_tagesordnung
from deutschland.bundestag_tagesordnung.apis import *
from deutschland.bundestag_tagesordnung.models import *
Metadata
Release files for de-bundestag-tagesordnung 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| de_bundestag_tagesordnung-1.0.0.tar.gz | 37.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| de_bundestag_tagesordnung-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.3 kB
Release files / de_bundestag_tagesordnung-1.0.0.tar.gz
| Download URL | de_bundestag_tagesordnung-1.0.0.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83bfa9a4f38c0d085c27869ddb04854b5f90c5652991302ce32f3c879c114169
|
|
BLAKE2b-256 checksum How to use checksums |
3ae9c89c152789e23181258d7a529241a1f35d53b3a2503a0eed100f9dca1bf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.1
|
Release files / de_bundestag_tagesordnung-1.0.0-py3-none-any.whl
| Download URL | de_bundestag_tagesordnung-1.0.0-py3-none-any.whl |
|---|---|
| Size | 41.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eeb1c6c8d6388c6b5e94a54f48687e31ca45fdc58b59f915c02b7ccee525c0b9
|
|
BLAKE2b-256 checksum How to use checksums |
597d925dd2ac94584fe779c9427bf8d6708c22c3edb05ec3626e18afc6ba26e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.1
|