https://github.com/d-k-bo/mediathekviewweb-rs
Rust client for the MediathekViewWeb API
https://github.com/d-k-bo/mediathekviewweb-rs
ard mediathek mediathekview mediathekviewweb mediathekviewweb-api orf srf zdf
Last synced: about 1 month ago
JSON representation
Rust client for the MediathekViewWeb API
- Host: GitHub
- URL: https://github.com/d-k-bo/mediathekviewweb-rs
- Owner: d-k-bo
- License: mit
- Created: 2023-10-03T20:38:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T17:10:49.000Z (about 1 year ago)
- Last Synced: 2026-01-13T03:41:17.490Z (about 2 months ago)
- Topics: ard, mediathek, mediathekview, mediathekviewweb, mediathekviewweb-api, orf, srf, zdf
- Language: Rust
- Homepage: https://docs.rs/mediathekviewweb
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# mediathekviewweb-rs
[](https://github.com/d-k-bo/mediathekviewweb-rs/actions?query=workflow%3ACI)
[](https://lib.rs/crates/mediathekviewweb)
[](https://docs.rs/mediathekviewweb)
[](LICENSE)
A client library for interacting with the MediathekViewWeb API.
## Example
```rust
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:#?}");
```
Results in something like
```rust
```
## License
This project is licensed under the MIT License.
See [LICENSE](LICENSE) for more information.