| Crates.io | kaggle |
| lib.rs | kaggle |
| version | 2.0.0 |
| created_at | 2020-03-22 17:10:31.478627+00 |
| updated_at | 2025-02-01 14:19:38.247844+00 |
| description | Unofficial rust implementation of the kaggle api |
| homepage | |
| repository | https://github.com/mattsse/kaggle-rs |
| max_upload_size | |
| id | 221473 |
| size | 211,269 |
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