kaggle

Crates.iokaggle
lib.rskaggle
version2.0.0
created_at2020-03-22 17:10:31.478627+00
updated_at2025-02-01 14:19:38.247844+00
descriptionUnofficial rust implementation of the kaggle api
homepage
repositoryhttps://github.com/mattsse/kaggle-rs
max_upload_size
id221473
size211,269
Matthias Seitz (mattsse)

documentation

https://docs.rs/kaggle/

README

kaggle-rs - accessing kaggle.com the rust way

Build Status Crates.io Documentation

Unofficial rust implementation of the kaggle-api.

Example

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(())
}

Documentation

Full docs available at docs.rs

License

The Kaggle API is released under the Apache License, Version 2.0

Commit count: 109

cargo fmt