haveibeenpwnd 0.2.1

Provides a client for the Have I Been Pwnd API
docs.rs failed to build haveibeenpwnd-0.2.1
Please check build logs and if you believe this is docs.rs' fault, report into this issue report.

haveibeenpwnd

A client for the Have I Been Pwned? API v2 for Rust

API reference


  let client = Clientv2::new("test-rust-client");

  let r = client.get_breaches_acct("test@example.com")
                .send()
                .unwrap();

  let r = client.get_breaches()
                .send()
                .unwrap();


  let r = client.get_data_classes().send().unwrap();

  let r = client.get_pastes("test@example.com").send().unwrap();