Crates.io | ttrss_api |
lib.rs | ttrss_api |
version | 0.2.2 |
source | src |
created_at | 2020-05-09 23:16:38.737939 |
updated_at | 2022-12-30 14:24:14.668394 |
description | API bindings for TinyTinyRSS |
homepage | https://github.com/jeffka11/ttrss_api |
repository | https://github.com/jeffka11/ttrss_api |
max_upload_size | |
id | 239436 |
size | 66,405 |
"Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator." This is a Rust crate built around the TinyTinyRSS API.
This crate tracks to the most recent version of TTRSS.
Visit crates.io or docs.rs for more info.
Add this to your Cargo.toml
:
[dependencies]
ttrss_api = "0.0.1"
Then add this to your crate:
extern crate ttrss_api;
To use:
extern crate ttrss_api;
use ttrss_api::* as ttrss;
fn main() {
let apilevel: Option<ttrss::ApiLevel> = match ttrss::get_api_level().expect("Failed to get response").content {
ttrss::Content::GetApiLevel(x) => { Some(x) },
_ => None,
};
println!("api level {:?}", apilevel.unwrap());
The minimum Rust version supported is 1.43.1.
Feel free to submit PRs or issues for suggestions, bugs, or feedback.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Licensed under either of
at your option.