ncm_api_rs/api/yunbei_today.rs
1use super::Query;
2use crate::error::Result;
3/// 云贝今日签到信息
4/// 对应 Node.js module/yunbei_today.js
5use crate::request::{ApiClient, ApiResponse, CryptoType};
6use serde_json::json;
7
8impl ApiClient {
9 /// 云贝今日签到信息
10 /// 对应 /yunbei/today
11 pub async fn yunbei_today(&self, query: &Query) -> Result<ApiResponse> {
12 let data = json!({});
13 self.request(
14 "/api/point/today/get",
15 data,
16 query.to_option(CryptoType::Weapi),
17 )
18 .await
19 }
20}