Hacker News new | ask | show | jobs
by kordless 5989 days ago
or even better, an easy-to-parse key value pair:

ip=208.128.7.7

1 comments

I'd contend that "208.128.7.7" is a more minimal, and useful, return value than "ip=208.128.7.7".
"ip=208.128.7.7" would be actually nice if the output would be like:

  ip=208.128.7.7
  location=france
  ua=Mozilla/5.0 (Macintosh; U; Intel blah blah
Yes, I agree, especially for shell scripts and such. A service should give me 1) plain text, 2) key value pairs, 3) json, and 4) human readable/copyable output.