| Crates.io | mediathekviewweb |
| lib.rs | mediathekviewweb |
| version | 0.4.1 |
| created_at | 2023-10-03 20:54:54.772849+00 |
| updated_at | 2025-02-21 17:10:45.21856+00 |
| description | Client for the MediathekViewWeb API |
| homepage | |
| repository | https://github.com/d-k-bo/mediathekviewweb-rs |
| max_upload_size | |
| id | 991544 |
| size | 67,709 |
A client library for interacting with the MediathekViewWeb API.
let results = mediathekviewweb::Mediathek::new(USER_AGENT)?
.query([mediathekviewweb::models::QueryField::Topic], "tagesschau")
.query(
[mediathekviewweb::models::QueryField::Title],
"tagesschau 20.00 Uhr",
)
.duration_min(std::time::Duration::from_secs(10 * 60))
.duration_max(std::time::Duration::from_secs(30 * 60))
.include_future(false)
.sort_by(mediathekviewweb::models::SortField::Timestamp)
.sort_order(mediathekviewweb::models::SortOrder::Descending)
.size(2)
.offset(3)
.await?;
println!("{results:#?}");
This project is licensed under the MIT License.
See LICENSE for more information.