5 releases
new 0.2.0 | Nov 20, 2024 |
---|---|
0.1.3 | Oct 11, 2024 |
0.1.2 | Oct 8, 2024 |
0.1.1 | Oct 8, 2024 |
0.1.0 | Oct 8, 2024 |
#8 in #sheet
14KB
169 lines
Google Sheets API
Usage
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();
}
Dependencies
~7–18MB
~233K SLoC