SoPHIE API Documentation

Freegeoip API Documentation

SoPHIELabs FreegeoIP Service API

The API wrapps the webservice which returns information associated to the given IP address.

Example use: $info = $freegeoipApi->get(); or $freegeoipApi->get('');

Init: $freegeoipApi = $api->get('sophielabs_freegeoip');

Method: $freegeoipApi->get(...)

Get information for an IP from service.


  • String $ip IP address to lookup information for, defaults to current one

Returns Array