Skip to main content

risikogebiete

Aktuelle Corona Risikogebietsinformationen als 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[risikogebiete]

poetry install

poetry add deutschland -E risikogebiete

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 risikogebiete

Getting Started

Please follow the installation procedure and then run the following:

import time
from deutschland import risikogebiete
from pprint import pprint
from deutschland.risikogebiete.api import default_api
from deutschland.risikogebiete.model.risk_countries import RiskCountries
# Defining the host is optional and defaults to https://api.einreiseanmeldung.de/reisendenportal
# See configuration.py for a list of all supported configuration parameters.
configuration = risikogebiete.Configuration(
    host = "https://api.einreiseanmeldung.de/reisendenportal"
)



# Enter a context with an instance of the API client
with risikogebiete.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = default_api.DefaultApi(api_client)
    
    try:
        # Liste der Länder
        api_response = api_instance.risikogebiete_get()
        pprint(api_response)
    except risikogebiete.ApiException as e:
        print("Exception when calling DefaultApi->risikogebiete_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.einreiseanmeldung.de/reisendenportal

Class Method HTTP request Description
DefaultApi risikogebiete_get GET /risikogebiete Liste der Länder

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

kontakt@bund.dev

Notes for Large OpenAPI documents

If the OpenAPI document is large, imports in risikogebiete.apis and risikogebiete.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.risikogebiete.api.default_api import DefaultApi
  • from deutschland.risikogebiete.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 risikogebiete
from deutschland.risikogebiete.apis import *
from deutschland.risikogebiete.models import *

Metadata

Release files for de-risikogebiete 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for de-risikogebiete 0.1.0
File Size Uploaded
de-risikogebiete-0.1.0.tar.gz 38.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for de-risikogebiete 0.1.0
File Interpreter ABI Platform
de_risikogebiete-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.9 kB

Release files / de-risikogebiete-0.1.0.tar.gz

Download URL de-risikogebiete-0.1.0.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9246adea4acf68fc8bce7174e813857c107086fc19f5a7ad78ff6dab284416c6
BLAKE2b-256 checksum
How to use checksums
4a5696f7a55bcd9bb5edcd5c3f4458755f6f31886d530487aca8680376e72cc5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / de_risikogebiete-0.1.0-py3-none-any.whl

Download URL de_risikogebiete-0.1.0-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf72aa95362e1b3468aa2fd348e48a530e603c17f6ccedc27c75e6399ffebd8e
BLAKE2b-256 checksum
How to use checksums
ca2c3ff4333a9db26048eda57427309af0f31c4c93ce85d44506e1509b4ca942
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page