Author:
domsammut
Version:
0.3.1
Released:
26 April 2014
Category:
Third Party Integration

Browse

Description

Thanks go to the following people:

A very simple extension that fetches IP information from freegeoip.net.

An example of the data set returned in your page XML:

<user-geo-info>
     <Ip>8.8.8.4</Ip>
     <CountryCode>US</CountryCode>
     <CountryName>United States</CountryName>
     <RegionCode>CA</RegionCode>
     <RegionName>California</RegionName>
     <City>Mountain View</City>
     <ZipCode>94043</ZipCode>
     <Latitude>37.4192</Latitude>
     <Longitude>-122.0574</Longitude>
     <MetroCode>807</MetroCode>
     <AreaCode>650</AreaCode>
</user-geo-info>

There is a request limit of 10,000 per hour.

Alternatively you can download the source code for freegeoip.net off GitHub and run your own server and simply update the $location variable in the class.freegeoip_service.php file.

Any bugs, please report on GitHub. Any feature requests just let me know via my site.

Repository

https://www.github.com/domsammut/freegeoip_service

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details