6 releases
0.3.1 | Dec 10, 2022 |
---|---|
0.3.0 | Apr 11, 2022 |
0.2.4 | Mar 30, 2022 |
#6 in #anni
17KB
381 lines
anni-vgmdb
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(())
}
Dependencies
~6–21MB
~250K SLoC