fast-geoip icon indicating copy to clipboard operation
fast-geoip copied to clipboard

Lookups not working correctly

Open chiqomar opened this issue 3 years ago • 2 comments

We were looking at replacing our version of geoip-lite with this library, but realized that the results returned from this library are incorrect; using the example IP (207.97.227.239) in the Readme results in the following:

{
  range: [ 3479289856, 3479306240 ],
  country: 'US',
  region: '',
  eu: '0',
  timezone: 'America/Chicago',
  city: '',
  ll: [ 37.751, -97.822 ],
  metro: 0,
  area: 1000
}

Tried this locally, as well as in the RunKit instance with the same result.

chiqomar avatar Nov 15 '21 21:11 chiqomar

same here

tmoubarak avatar May 06 '22 14:05 tmoubarak

I don't think it is a bug - geoip-lite updates database and IP address can change location over time

gugu avatar Jul 11 '22 11:07 gugu

Right, but, you should probably update your readme to match, or use another IP, otherwise trying the example doesn't work. In any case, no one's active on this anyway. Gonna close the issue.

chiqomar avatar Sep 13 '22 17:09 chiqomar