Unofficial rust implementation of the kaggle-api.
Download the newest version of a complete dataset
use kaggle::KaggleApiClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let kaggle = KaggleApiClient::builder().build()?;
let dataset = kaggle
.dataset_download_all_files("unanimad/dataisbeautiful", None, None)
.await?;
kaggle::archive::unzip(dataset, ".")?;
Ok(())
}
Full docs available at docs.rs
The Kaggle API is released under the Apache License, Version 2.0