pixrs 0.2.0

Pixiv AJAX API in Rust
Documentation
1
2
3
4
5
6
7
8
use pixrs::IllustInfo;

#[test]
fn illust_info_deserialize() -> anyhow::Result<()> {
    let data: IllustInfo = serde_json::from_str(include_str!("json/illust_info_100412238.json"))?;
    println!("{data:#?}");
    Ok(())
}