1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
DashboardDeutschland
Auf https://www.dashboard-deutschland.de bietet das Statistische Bundesamt DESTATIS einen Überblick zu gesellschaftlich und wirtschaftlich relevanten Daten aus unterschiedlichen Themenbereichen. Diese werden durch Grafiken und Texte ergänzt und regelmäßig aktualisiert. Damit soll eine Möglichkeit geboten werden, aktuelle Kennzahlen und deren Entwicklung übersichtlich darzustellen.
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 For more information, please visit https://github.com/AndreasFischer1985/dashboard-deutschland-api
Requirements.
Python >= 3.6
Installation & Usage
pip install
pip install deutschland[DashboardDeutschland]
poetry install
poetry add deutschland -E DashboardDeutschland
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 DashboardDeutschland
Getting Started
Please follow the installation procedure and then run the following:
import time
from deutschland import DashboardDeutschland
from pprint import pprint
from deutschland.DashboardDeutschland.api import geo_api
from deutschland.DashboardDeutschland.model.geo import Geo
# Defining the host is optional and defaults to https://www.dashboard-deutschland.de
# See configuration.py for a list of all supported configuration parameters.
configuration = DashboardDeutschland.Configuration(
host = "https://www.dashboard-deutschland.de"
)
# Enter a context with an instance of the API client
with DashboardDeutschland.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = geo_api.GeoApi(api_client)
try:
# Zugriff auf Geojson-Daten zu Deutschland und den Ländern
api_response = api_instance.geo()
pprint(api_response)
except DashboardDeutschland.ApiException as e:
print("Exception when calling GeoApi->geo: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://www.dashboard-deutschland.de
| Class | Method | HTTP request | Description |
|---|---|---|---|
| GeoApi | geo | GET /geojson/de-all.geo.json | Zugriff auf Geojson-Daten zu Deutschland und den Ländern |
| GetApi | get | GET /api/dashboard/get | Zugriff auf alle gültigen Einträge des id-Parameters |
| IndicatorsApi | indicators | GET /api/tile/indicators | Zugriff auf unterschiedliche Indikatoren |
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 DashboardDeutschland.apis and DashboardDeutschland.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.DashboardDeutschland.api.default_api import DefaultApifrom deutschland.DashboardDeutschland.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 DashboardDeutschland
from deutschland.DashboardDeutschland.apis import *
from deutschland.DashboardDeutschland.models import *
Metadata
Release files for de-dashboarddeutschland 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| de-DashboardDeutschland-0.1.0.tar.gz | 45.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| de_dashboarddeutschland-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
| de_DashboardDeutschland-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 185.2 kB
Release files / de-DashboardDeutschland-0.1.0.tar.gz
| Download URL | de-DashboardDeutschland-0.1.0.tar.gz |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebe80eb15c0626abe75eb65e14b33bb78015c242bc11fac9326f524cd821fe86
|
|
BLAKE2b-256 checksum How to use checksums |
3e55638f9780046d8ec32be91773e094d9e0e24db7317524320b0afdf455b7d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.8
|
Release files / de_dashboarddeutschland-0.1.0-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | de_dashboarddeutschland-0.1.0-py3-none-any.whl |
|---|---|
| Size | 70.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90f2e9671116c5350e39a8331482102f96a97104369679437b16cfcc8391de86
|
|
BLAKE2b-256 checksum How to use checksums |
e0a283d96df2f5c0d3cb5c003afbb602639b3ebb7d9e079b7e000963c221da10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / de_DashboardDeutschland-0.1.0-py3-none-any.whl
| Download URL | de_DashboardDeutschland-0.1.0-py3-none-any.whl |
|---|---|
| Size | 69.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74c6274e121611549d99fb175cd20f7fcc1f0635e7389b4d75aa56ca80c26799
|
|
BLAKE2b-256 checksum How to use checksums |
32b0992728374f5807c4064e4438e42adf714bb0dcb29ecb94fbcd9d1f09bfb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.8
|