stremio 0.1.3

A fast & async library for Stremio written in Rust
Documentation
//! # stremio
//!
//! Stremio is a fast & async library for Stremio, written in Rust.
//! This library provides features to call Stremio APIs.
//!
//! ## Examples
//! Examples can be found in [this crate's examples directory].
//!
//! A sample is provided here.
//!
//! ```rust, no_run
//! use stremio::Client;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//!     let client = Client::new(
//!         "user@email.com".to_string(),
//!         "password".to_string());
//!     let client = client.login().await?;
//!     println!("client login result : {}", client.is_logged_in);
//!     println!("client auth key : {}", client.auth_key);
//!     let sessions = client.get_user_sessions().await?;
//!     println!("user sessions: {sessions:?}");
//!     let user = client.get_user().await?;
//!     println!("user details: {user:?}");
//!     let addon_collection = client.get_addon_collection().await?;
//!     println!("addon_collection: {addon_collection:?}");
//!     let datastore_meta = client.get_datastore_meta().await?;
//!     println!("datastore_meta: {datastore_meta:?}");
//!     let logout = client.logout().await?;
//!     println!("logout result: {logout:?}");
//! Ok(())
//!
//! }
//! ```

pub mod client;
mod common;
mod types;
pub mod urls;
pub use client::Client;
pub use types::{ApiResponse, GenericApiResponse};