pixapi

Crates.iopixapi
lib.rspixapi
version0.1.1
sourcesrc
created_at2023-04-09 17:51:13.395441
updated_at2023-04-10 11:16:38.634083
descriptionAn API for accessing to pixiv.net
homepage
repository
max_upload_size
id834456
size37,842
Denis (Denisius664)

documentation

README

Pixiv API

API, которое используется в мобильных клиентах pixiv.net Main structure is PixivClient. Methods of this class below.

Example

use pixapi::PixivClient;

#[tokio::main]
async fn main() {
    let mut client = PixivClient::from_refresh_token("YOUR_TOKEN");
    client.refresh_auth().await.unwrap();
    let recommends = client.get_user_recommended().await;
    println!("{:#?}", recommends);
}
Commit count: 0

cargo fmt