#tax #washington #wa

wataxrate

Tool for getting tax information for addresses in WA State

6 stable releases

Uses new Rust 2024

1.0.5 Mar 5, 2025
1.0.4 Apr 17, 2020
1.0.0 Apr 16, 2020

#156 in Finance

Download history 5/week @ 2024-12-05 6/week @ 2024-12-12 118/week @ 2025-02-27 61/week @ 2025-03-06

179 downloads per month

NCSA license

18KB
173 lines

Get some tax info for WA state

Simple lib for getting tax data for addrs in WA State.

First goal is to be simple, with reasonable defaults.

Example

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

Gotchas

  • Requires tokio!!

lib.rs:

This library can be used to get tax rates for addresses in WA state! Meant to be super simple.

It gets data from DOR using its XML URL interface defined here.

Note that this needs tokio, as reqwest needs tokio!

Dependencies

~8–19MB
~256K SLoC