Skip to main content

location/
main.rs

1use peopledatalabs::{CleanLocationParams, LocationParams, PDL};
2
3fn main() {
4    let client = PDL::new();
5    let location_params = LocationParams {
6        location: Some("New York, NY".to_string()),
7    };
8    let params = CleanLocationParams {
9        base_params: None,
10        location_params,
11        additional_params: None,
12    };
13
14    let results = client.location.clean(params);
15
16    println!("{:#?}", results);
17}