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.
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
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.