plex-api 0.0.12

Library for communication with Plex server. Work in progress, not ready for any use. See github for details.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use plex_api::MyPlexBuilder;
use rpassword::prompt_password;

#[tokio::main]
async fn main() {
    let token = prompt_password("Token: ").unwrap();

    MyPlexBuilder::default()
        .set_token(token)
        .build()
        .await
        .unwrap()
        .signout()
        .await
        .unwrap();
}