Codewrinkles / Codewrinkles.HIBPClient

.NET consumer for the HaveIBeenPawned API
MIT License
1 stars 1 forks source link

Create the breach response model #3

Open danpdc opened 1 year ago

danpdc commented 1 year ago

When sending a request to the HIBP API to get a breach or a list of breaches, the API returns a response documented here: https://haveibeenpwned.com/API/v3

We need to create a class that models that response.

bcookew commented 1 year ago

Finished my initial hack at this. I am going to submit a pull request and would appreciate feedback and the oppourtunity to correct if what I have written isn't what you had in mind. 😄 @danpdc