Crates.io | anni-vgmdb |
lib.rs | anni-vgmdb |
version | 0.3.1 |
source | src |
created_at | 2022-03-28 15:02:01.982061 |
updated_at | 2022-12-10 08:44:10.272721 |
description | A simple VGMdb client. |
homepage | |
repository | https://github.com/ProjectAnni/anni-vgmdb |
max_upload_size | |
id | 557875 |
size | 27,451 |
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(())
}