Y
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
weavejester
5989 days ago
I'd contend that "208.128.7.7" is a more minimal, and useful, return value than "ip=208.128.7.7".
link
tfh
5989 days ago
"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
link
kordless
5989 days ago
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.
link