CLI tool swift

Job ID: 32508532

Budget: $10 – $30 USD

I have an API key for HaveIBeenPwned (https://haveibeenpwned.com/API/v3) and need to integrate from another tool I'm working on. So looking for someone who can write a little command line script that looks up an email address and site and returns with if a given password is a match. So for example:

swift appname -apikey xxxx -site "www.facebook.com" -account "myname" -password "mypassword"

The response should be a string that indicates that the account was compromised or not. Pretty basic GET https://haveibeenpwned.com/api/v3/dataclasses (see what the json response looks like for parsing at https://haveibeenpwned.com/API/v3#SingleBreach).
Related categories: Objective C Swift iOS Development