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

For you minimalists: http://checkip.dyndns.org/


The full response of which being:

<html><head><title>Current IP Check</title></head><body>Current IP Address: xx.xx.xx.xx</body></html>

That's surely not minimal. What you need is a simple plain-text: xx.xx.xx.xx.


or even better, an easy-to-parse key value pair:

ip=208.128.7.7


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: