ncm_api_rs/api/
video_detail_info.rs1use super::Query;
2use crate::error::Result;
3use crate::request::{ApiClient, ApiResponse, CryptoType};
6use serde_json::json;
7
8impl ApiClient {
9 pub async fn video_detail_info(&self, query: &Query) -> Result<ApiResponse> {
12 let data = json!({
13 "threadid": format!("R_VI_62_{}", query.get_or("vid", "")),
14 "composeliked": true
15 });
16 self.request(
17 "/api/comment/commentthread/info",
18 data,
19 query.to_option(CryptoType::Weapi),
20 )
21 .await
22 }
23}