Rust SDK
The People Data Labs Rust Helper Library
The People Data Labs Rust Library makes it easy to interact with our APIs from your Rust application. You can find the most recent version of the library on Crates.io.
How To Install the Library
This library is available as a Rust Package, and you can install it like this:
cargo add peopledatalabs
Using the Library
Make sure that you sign up for a free PDL API key if you don't already have one.
let api_key = std::env::var("PDL_API_KEY").unwrap();
let client = PDL::new(&api_key);
let mut person_params = PersonParams::default();
person_params.profile = Some(vec!["linkedin.com/in/seanthorne".to_string()]);
let mut enrich_params = EnrichPersonParams::default();
enrich_params.person_params = person_params.clone();
let results = client.person.enrich(enrich_params);
println!("{:#?}", results);
More Information, Pull Requests, Feature Suggestions and Bug Reports
We've open-sourced the library, which is available on GitHub. Go there to view more information. You can also submit pull requests, feature suggestions and bug reports.
Updated 2 months ago