Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd contend that "208.128.7.7" is a more minimal, and useful, return value than "ip=208.128.7.7".


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.


"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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: