anni-vgmdb

Crates.ioanni-vgmdb
lib.rsanni-vgmdb
version0.3.1
sourcesrc
created_at2022-03-28 15:02:01.982061
updated_at2022-12-10 08:44:10.272721
descriptionA simple VGMdb client.
homepage
repositoryhttps://github.com/ProjectAnni/anni-vgmdb
max_upload_size
id557875
size27,451
Yesterday17 (Yesterday17)

documentation

README

anni-vgmdb

crates.io API

Example

use anni_vgmdb::VGMClient;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let client = VGMClient::default();
    let search = client.search_albums("TEST").await?;
    for album in search.albums() {
        println!("{:?}", album);
    }

    if !search.is_empty() {
        let album = search.into_album(None).await?;
        println!("{:?}", album);
    }

    Ok(())
}
Commit count: 27

cargo fmt