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 *

Download files

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

Source Distribution

de_klinikatlas-1.0.0.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

de_klinikatlas-1.0.0-py3-none-any.whl (96.0 kB view details)

Uploaded Python 3

File details

Details for the file de_klinikatlas-1.0.0.tar.gz.

File metadata

  • Download URL: de_klinikatlas-1.0.0.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.1

File hashes

Hashes for de_klinikatlas-1.0.0.tar.gz
Algorithm Hash digest
SHA256 379d1e79a461171bfdaa2e6adc95703dd4d2f39e7da8ded7af3f92fea8d22e35
MD5 52c2e3e342da258d792ac217e46a93a1
BLAKE2b-256 db95f0bca6a1e7ff7bfdc0486edb8ebdc88aa42c51333b32ab042dea75b4bcaa

See more details on using hashes here.

File details

Details for the file de_klinikatlas-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: de_klinikatlas-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 96.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.1

File hashes

Hashes for de_klinikatlas-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1bff16a2496ec7b32a24cd65fe6df07b369364798c211fd6b2a7cd8ca6b2f77
MD5 4c6e2fb0eb12c97a76497357f2420772
BLAKE2b-256 6e67251dd95dac5daab1998d03e429dd34d909e0b710f59f69ff7b064d3104a8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page