Crates.io | khawk_sheets |
lib.rs | khawk_sheets |
version | 0.2.0 |
source | src |
created_at | 2024-10-08 02:50:18.320656 |
updated_at | 2024-11-20 02:16:57.380898 |
description | API to interact with a google sheet |
homepage | |
repository | |
max_upload_size | |
id | 1400720 |
size | 13,871 |
use khawk_sheets::{Buildable, Builder, DateTimeRenderOption, GoogleSheet, MajorDimension};
fn main() {
let sheet =
GoogleSheet::builder()
.with_sheet_id(&sheet_id)
.with_key(&api_key)
.with_major_dimension(MajorDimension::Rows)
.with_date_time_render_option(DateTimeRenderOption::FormattedString)
.build()
.await
.unwrap();
let my_tab = sheet.fetch_sheet("My Sheet Name").await.unwrap();
}