Hacker News new | ask | show | jobs
by tyingq 3334 days ago
There's a more API friendly endpoint to do this that returns a nice JSON response, like this:

  {"input01":{"Valid":"false","ErrorMessage":"That username is taken. Try another.","Errors":{"GmailAddress":"That username is taken. Try another."},"ErrorData":[""]},"Locale":"en"}
See: https://gist.github.com/saml/2268291
1 comments

Checked and it still works too. Ported to node and added to: https://github.com/mikemaccana/is-gmail-account-valid