| Crates.io | api_video |
| lib.rs | api_video |
| version | 0.3.3 |
| created_at | 2024-04-14 16:48:03.685828+00 |
| updated_at | 2025-03-13 17:47:39.547613+00 |
| description | This is unofficial client for api.video written in Rust |
| homepage | |
| repository | https://github.com/Satyam1Vishwakarma/rapi_video |
| max_upload_size | |
| id | 1208374 |
| size | 24,162 |
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.
cargo add api_video
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;
}
use api_video::rapi_sync;
fn main(){
let api = rapi_sync::ApiVideo{production:false,token:"token".to_string()};
api.video_upload("myfirstvideo".to_string(), "G:\\foo.mp4".to_string());
let all_video = api.get_all_video(1, 2);
}
VideoUpload<200MiB ✅| GetAllVideo ✅| DeleteAVideo ✅| ThumbnailUpload ✅| WatermarkUpload ✅| GetWatermark ✅| DeleteWatermark ✅| GetCaption ✅| UploadCaption ✅| DeleteCaption ✅|