erlGeoIP 0.2 review

Download
by rbytes.net on

License: LGPL (GNU Lesser General Public License)
File size: 0K
Developer: Olivier Girondel
0 stars award from rbytes.net

erlGeoIP is a C-port driver for accessing GeoIP data from Erlang.

Tested with:

Erlang/OTP R10B-9
GeoIP 1.3.14

Example usage:

$ erl
Erlang (BEAM) emulator version 5.4.12 [source] [hipe]

Eshell V5.4.12 (abort with ^G)
1> geoip:test().
country_code_by_addr(200.189.169.141) -> BR
country_code3_by_addr(200.189.169.141) -> BRA
country_name_by_addr(200.189.169.141) -> Brazil
country_code_by_name(www.yahoo.co.jp) -> JP
country_code3_by_name(www.yahoo.co.jp) -> JPN
country_name_by_name(www.yahoo.co.jp) -> Japan
ok

Requirements:
GeoIP >= 1.3.14

erlGeoIP 0.2 search tags