#video #api #api-client #rapi

api_video

This is unofficial client for api.video written in Rust

1 unstable release

0.1.0 Apr 14, 2024

#443 in #video

Custom license

8KB
132 lines

api-video Rust Client

This is unofficial client for api.video written in Rust.

It is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.

Installation

cargo add api_video

Usage

use api_video::rapi;

#[tokio::main]
async fn main(){
    let api = rapi::ApiVideo{production:false,token:"token".to_string()};
    api.video_upload("myfirstvideo".to_string(), "G:\\foo.mp4".to_string()).await;
   let all_video = api.get_all_video(1, 2).await;

}

Done

VideoUpload<200MiB ✅| GetAllVideo ✅| DeleteAVideo ✅|

Dependencies

~7–18MB
~258K SLoC