Skip to main content

tagesschau

Die Tagesschau ist eine Nachrichtensendung der ARD (Abkürzung für Arbeitsgemeinschaft der öffentlich-rechtlichen Rundfunkanstalten der Bundesrepublik Deutschland), die von ARD-aktuell in Hamburg produziert und mehrmals täglich ausgestrahlt wird. ARD-aktuell ist seit 1977 die zentrale Fernsehnachrichtenredaktion der ARD, bei welcher es sich wiederum um einen Rundfunkverbund handelt, der aus den Landesrundfunkanstalten und der Deutschen Welle besteht.

Über die hier dokumentierte API stehen auf www.tagesschau.de aktuelle Nachrichten und Medienbeiträge im JSON-Format zur Verfügung.

Achtung: Die Nutzung der Inhalte für den privaten, nicht-kommerziellen Gebrauch ist gestattet, die Veröffentlichung hingegen nicht - mit Ausnahme von Angeboten, die explizit unter der CC-Lizenz stehen (https://tagesschau.de/creativecommons). Es ist unzulässig, mehr als 60 Abrufe pro Stunde zu tätigen.

This Python package is automatically generated by the OpenAPI Generator project:

Requirements.

Python >= 3.6

Installation & Usage

pip install

pip install deutschland[tagesschau]

poetry install

poetry add deutschland -E tagesschau

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 tagesschau

Getting Started

Please follow the installation procedure and then run the following:

import time
from deutschland import tagesschau
from pprint import pprint
from deutschland.tagesschau.api import channels_api
from deutschland.tagesschau.model.channels_response import ChannelsResponse
# Defining the host is optional and defaults to https://www.tagesschau.de
# See configuration.py for a list of all supported configuration parameters.
configuration = tagesschau.Configuration(
    host = "https://www.tagesschau.de"
)



# Enter a context with an instance of the API client
with tagesschau.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = channels_api.ChannelsApi(api_client)

    try:
        # Aktuelle Kanäle
        api_response = api_instance.channels()
        pprint(api_response)
    except tagesschau.ApiException as e:
        print("Exception when calling ChannelsApi->channels: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://www.tagesschau.de

Class Method HTTP request Description
ChannelsApi channels GET /api2u/channels/ Aktuelle Kanäle
HomepageApi homepage GET /api2u/homepage/ Ausgewählte aktuelle Nachrichten und Eilmeldungen
NewsApi news GET /api2u/news/ Aktuelle Nachrichten und Eilmeldungen
SearchApi search GET /api2u/search/ Suche

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 tagesschau.apis and tagesschau.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.tagesschau.api.default_api import DefaultApi
  • from deutschland.tagesschau.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 tagesschau
from deutschland.tagesschau.apis import *
from deutschland.tagesschau.models import *

Metadata

Release files for de-tagesschau 0.2.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-tagesschau 0.2.0
File Size Uploaded
de_tagesschau-0.2.0.tar.gz 46.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for de-tagesschau 0.2.0
File Interpreter ABI Platform
de_tagesschau-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 131.8 kB

Release files / de_tagesschau-0.2.0.tar.gz

Download URL de_tagesschau-0.2.0.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1744af05d35b7eded4e9a1f638a42305b5e7b7a55520f6fe863df121f4a52b25
BLAKE2b-256 checksum
How to use checksums
41245e6a871e385c9e65c3d005b43d7224c9b774ceb9ed32b35903c9082b46db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Release files / de_tagesschau-0.2.0-py3-none-any.whl

Download URL de_tagesschau-0.2.0-py3-none-any.whl
Size 85.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80a140a6b2097bd8b3078404125bf8dcfd97175eeeeb4f8efd17ae4ee9bdc04c
BLAKE2b-256 checksum
How to use checksums
c4a8fd7ba9fefa994cf665cc0d1bc5c027d3a5051ad447ef1cc4970420820096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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