Skip to main content

Dashboard Deutschland API

Project description

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:

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

andreasfischer1985@web.de

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 DefaultApi
  • from 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 *

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

de-DashboardDeutschland-0.1.0.tar.gz (45.5 kB view details)

Uploaded Source

Built Distributions

de_dashboarddeutschland-0.1.0-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

de_DashboardDeutschland-0.1.0-py3-none-any.whl (69.6 kB view details)

Uploaded Python 3

File details

Details for the file de-DashboardDeutschland-0.1.0.tar.gz.

File metadata

File hashes

Hashes for de-DashboardDeutschland-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebe80eb15c0626abe75eb65e14b33bb78015c242bc11fac9326f524cd821fe86
MD5 3c1331d62424d8ee5cf063a35c71e715
BLAKE2b-256 3e55638f9780046d8ec32be91773e094d9e0e24db7317524320b0afdf455b7d3

See more details on using hashes here.

File details

Details for the file de_dashboarddeutschland-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for de_dashboarddeutschland-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90f2e9671116c5350e39a8331482102f96a97104369679437b16cfcc8391de86
MD5 0fbbda7834fed5dfac9533bec55d4e6e
BLAKE2b-256 e0a283d96df2f5c0d3cb5c003afbb602639b3ebb7d9e079b7e000963c221da10

See more details on using hashes here.

File details

Details for the file de_DashboardDeutschland-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for de_DashboardDeutschland-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74c6274e121611549d99fb175cd20f7fcc1f0635e7389b4d75aa56ca80c26799
MD5 d2c3f223d6b5ac90503f9b77c2ab079b
BLAKE2b-256 32b0992728374f5807c4064e4438e42adf714bb0dcb29ecb94fbcd9d1f09bfb5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page