youtube-uploader 0.6.0

YouTube video upload library with resumable upload, multi-channel workspaces, upload profiles, and per-video metadata TOML
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod auth_code;
pub mod device_code;
pub mod refresh_token;
pub mod urls;

pub use refresh_token::now_secs;

/// OAuth2 token response from Google's token endpoint.
#[derive(Debug, serde::Deserialize)]
pub struct TokenResponse {
    pub access_token: String,
    pub refresh_token: Option<String>,
    pub expires_in: u64,
    pub token_type: String,
}