tagesschau-rs
A client library for interacting with the Tagesschau's /api2/news
endpoint.
Example
let start = from_calendar_date?;
let end = from_calendar_date?;
let mut builder = new;
builder
.ressort
.timeframe;
let articles: = builder.get_text_articles.await?;
for article in articles
Gesetzlicher Mindestlohn zeigt positive Wirkung - 14:52:03.304
E-Autos werden beliebter – nur nicht in Deutschland - 17:07:02.836
Fed lässt Leitzins erneut unverändert - 20:50:58.427
Fed enttäuscht Zinshoffnungen - 22:16:27.875
...
License
This project is licensed under the MIT License.
See LICENSE for more information.
TODO:
- Support for multiple ressorts
- Support for Datetime timeframes (limit to 12.00h to 13.00h e.g.)
- Support for a limited amount of articles
-
Add support for blocking requests