Ifconfig

Basic IP API/Look up.


IP API

$value){ echo "
".str_replace('_', ' ', ucfirst($key))."
".$value."
"; } ?>

HTTP Header

$value){ echo "
".$key."
".$value."
"; } ?>
Choose output format.

Command Line Interface:

Get IP: $ curl http://tools.iamfabulous.de/ifconfig/ =>
JSON: $ curl http://tools.iamfabulous.de/ifconfig/?output=json
Get everything: $ curl http://tools.iamfabulous.de/ifconfig/?geoip=1&header=1&output=json