Skip to content

Commit 801b84b

Browse files
author
Bryan Amundson
committed
Added support for US Enrichment risk dataset.
2 parents 1f3bde9 + 08e92c7 commit 801b84b

File tree

3 files changed

+491
-0
lines changed

3 files changed

+491
-0
lines changed

smarty-rust-sdk/examples/us_enrichment_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use smarty_rust_sdk::us_enrichment_api::lookup::EnrichmentLookup;
1010
use smarty_rust_sdk::us_enrichment_api::response::EnrichmentResponse;
1111
use smarty_rust_sdk::us_enrichment_api::secondary::SecondaryCountResponse;
1212
use smarty_rust_sdk::us_enrichment_api::secondary::SecondaryResponse;
13+
use smarty_rust_sdk::us_enrichment_api::risk::RiskResponse;
1314

1415
use std::error::Error;
1516

@@ -24,6 +25,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
2425
lookup::<GeoReference2020Response>(key).await?;
2526
lookup::<SecondaryResponse>(key).await?;
2627
lookup::<SecondaryCountResponse>(key).await?;
28+
lookup::<RiskResponse>(key).await?;
2729

2830
Ok(())
2931
}

smarty-rust-sdk/src/us_enrichment_api/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pub mod financial;
77
pub mod geo;
88
pub mod principal;
99
pub mod secondary;
10+
pub mod risk;
1011

1112
#[cfg(test)]
1213
mod tests {

0 commit comments

Comments
 (0)