Google APIs
Chester Wyke March 20, 2025 Updated: April 15, 2025 #rustConditional Compilation
Install
Crate Serde
References
Cargo
Toolchain (Nightly)
String Formatting
Time
Crate Tokio
Publish Crate
rustfmt
Single file script
Snippets
CI
Pattern Type State
WASM
Create New Crate
Documentation
JSON
Pattern Builder
Testing
Working with collections of bytes
Thoughts about rust
Are we yet
OnceLock
Crate Actix Web
Stack Overflow
Crate Clap
Crate Poll Promise
Crate Insta
Tips
Create new egui project
Crate CSV
Crate egui
Iterators
Crate Tracing Subscriber
Regex
vscode
Enum Conversion
Macros
lettre
Google APIs
Google Sheets
Foreword
It’s been a journey trying to decide what would be the most sustainable way to interact with Google’s API for “Google Sheets”. Seems that currently Google is currently developing a client library for rust but it isn’t done yet. My current use case isn’t amenable to a still experimental API thus I decided to use the next best one. Byron setup a repo to generate clients based on Google’s discovery service. He really did a very good job with it and it seems to at present be the best option. I also considered one created by the Oxide Computer Company but decided to use the one Byron created as his also came with a CLI that I could use to better understand how to use it.
Using google_sheets4
Sources:
- Medium Article by Chris Grounds
- Auto generated CLI created by Byron
WIP The project I was going to use this on has been paused but already started the notes so saving them.