Why isn't json returning city, region or country
ConfusedRunningGuy opened this issue · 2 comments
ConfusedRunningGuy commented
Why isn't the api returning city,region or country in the returned json?
fiorix commented
Good question. What's the HTTP return status? If it is 200 (Status OK) it means the IP you're looking for is not in the IP database. For other return status the response body should contain an explanation.
ConfusedRunningGuy commented
Ahh my connection is dynamic not static and provider changed switch to a
new facility that may not be recorded. Either way I found a solution using
GeoIp to produce the lat/lng coordinates and another api to produce the
city if GeoIP doesn't include the city.
…On Wed, Nov 15, 2017 at 2:46 PM, Alexandre Fiori ***@***.***> wrote:
Good question. What's the HTTP return status? If it is 200 (Status OK) it
means the IP you're looking for is not in the IP database. For other return
status the response body should contain an explanation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQDGfnYbe5o7w_pUxhPUeRlzMd5g0hwvks5s2z96gaJpZM4QT4yx>
.