Crate bilibili_api_rs[−][src]
Expand description
bilibili-api-rs is a rust library project got inspiration from bilibili-api.
Example
use bilibili_api_rs::Context;
#[tokio::main]
async fn main() {
let n = Context::new().unwrap();
let v = n.new_user(15810).get_info().unwrap().query().await.unwrap();
assert_eq!(v["name"].as_str().unwrap(), "Mr.Quin");
}
Re-exports
Modules
Provide bilibili APIs
The module declare the cache interface and provide a SimpleMemCacher
Declare error enum