Skip to main content

klinikatlas

Die API des Bundes-Klinik-Atlas stellt eine Vielzahl von Informationen über deutsche Kliniken und deren Ausstattung bereit.

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 For more information, please visit https://bundes-klinik-atlas.de

Requirements.

Python >= 3.6

Installation & Usage

pip install

pip install deutschland[klinikatlas]

poetry install

poetry add deutschland -E klinikatlas

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 klinikatlas

Getting Started

Please follow the installation procedure and then run the following:

import time
from deutschland import klinikatlas
from pprint import pprint
from deutschland.klinikatlas.api import default_api
from deutschland.klinikatlas.model.fileadmin_json_german_places_json_get200_response_inner import FileadminJsonGermanPlacesJsonGet200ResponseInner
from deutschland.klinikatlas.model.fileadmin_json_german_states_json_get200_response_inner import FileadminJsonGermanStatesJsonGet200ResponseInner
from deutschland.klinikatlas.model.fileadmin_json_icd_codes_json_get200_response_inner import FileadminJsonIcdCodesJsonGet200ResponseInner
from deutschland.klinikatlas.model.fileadmin_json_locations_json_get200_response_inner import FileadminJsonLocationsJsonGet200ResponseInner
from deutschland.klinikatlas.model.fileadmin_json_ops_codes_json_get200_response_inner import FileadminJsonOpsCodesJsonGet200ResponseInner
from deutschland.klinikatlas.model.fileadmin_json_states_json_get200_response_inner import FileadminJsonStatesJsonGet200ResponseInner
from deutschland.klinikatlas.model.searchresults_get200_response import SearchresultsGet200Response
# Defining the host is optional and defaults to https://bundes-klinik-atlas.de
# See configuration.py for a list of all supported configuration parameters.
configuration = klinikatlas.Configuration(
    host = "https://bundes-klinik-atlas.de"
)



# Enter a context with an instance of the API client
with klinikatlas.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = default_api.DefaultApi(api_client)

    try:
        # Liste deutscher Orte abrufen
        api_response = api_instance.fileadmin_json_german_places_json_get()
        pprint(api_response)
    except klinikatlas.ApiException as e:
        print("Exception when calling DefaultApi->fileadmin_json_german_places_json_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://bundes-klinik-atlas.de

Class Method HTTP request Description
DefaultApi fileadmin_json_german_places_json_get GET /fileadmin/json/german-places.json Liste deutscher Orte abrufen
DefaultApi fileadmin_json_german_states_json_get GET /fileadmin/json/german-states.json Liste deutscher Bundesländer mit Koordinaten abrufen
DefaultApi fileadmin_json_icd_codes_json_get GET /fileadmin/json/icd_codes.json Liste der ICD-Codes abrufen
DefaultApi fileadmin_json_locations_json_get GET /fileadmin/json/locations.json Liste deutscher Kliniken abrufen
DefaultApi fileadmin_json_ops_codes_json_get GET /fileadmin/json/ops_codes.json Liste der OPS-Codes abrufen
DefaultApi fileadmin_json_states_json_get GET /fileadmin/json/states.json Liste deutscher Bundesländer abrufen
DefaultApi krankenhaussuche_krankenhaus_id_get GET /krankenhaussuche/krankenhaus/{id}/ Details zu einem spezifischen Krankenhaus abrufen
DefaultApi searchresults_get GET /searchresults/ Suche nach Krankenhäusern basierend auf spezifischen Kriterien

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

poststelle@bmg.bund.de

Notes for Large OpenAPI documents

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

Metadata

Release files for de-klinikatlas 1.0.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-klinikatlas 1.0.0
File Size Uploaded
de_klinikatlas-1.0.0.tar.gz 47.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for de-klinikatlas 1.0.0
File Interpreter ABI Platform
de_klinikatlas-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 143.4 kB

Release files / de_klinikatlas-1.0.0.tar.gz

Download URL de_klinikatlas-1.0.0.tar.gz
Size 47.4 kB
Tags Source
SHA-256 checksum
How to use checksums
379d1e79a461171bfdaa2e6adc95703dd4d2f39e7da8ded7af3f92fea8d22e35
BLAKE2b-256 checksum
How to use checksums
db95f0bca6a1e7ff7bfdc0486edb8ebdc88aa42c51333b32ab042dea75b4bcaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.1

Release files / de_klinikatlas-1.0.0-py3-none-any.whl

Download URL de_klinikatlas-1.0.0-py3-none-any.whl
Size 96.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1bff16a2496ec7b32a24cd65fe6df07b369364798c211fd6b2a7cd8ca6b2f77
BLAKE2b-256 checksum
How to use checksums
6e67251dd95dac5daab1998d03e429dd34d909e0b710f59f69ff7b064d3104a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

1.0.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