Simple lib for getting tax data for addrs in WA State.
First goal is to be simple, with reasonable defaults.
See the example program
cargo run --example get
This is what it looks like in code
// .. in an async environment..
match wataxrate::get("400 Broad St", "Seattle", "98109").await {
Ok(taxinfo) => println!("Tax rate is {}", taxinfo.rate).
Err(e) => eprintln!("Error getting tax info: {:?}", e),
}
- Requires
tokio
!!