Live data from Hacker News

Show HN: A New, Clean Geolocation API

ipdata.co

91–100 of 168 posts

Re: Show HN: A New, Clean Geolocation API

#91

> Get the following datapoints from any IP address; Again :-( I just wonder if people will ever stop making assumptions about others given their IP address or hair colours and divide the Internet on these slippery grounds. The only legitimate and valid way to determine the client's location automatically is the browser or the OS geolocation API, and for the language it is the HTTP_ACCEPT_LANGUAGE header. The fact I h…

Believe it or not, you make up about 0.000001%[1] of the internet users. There is no saying in what this can be applied, it doesn't have to be for language or anything like that. It doesn't even have to be anything customer facing, and if it's just some stats you will probably probably just be a bit of noise.

Don't get me wrong. I totally agree that this thing is definitely not accurate(it thinks i'm 1300mi away) but it's good enough to get a general idea.

[1] made up number to get my point across

Re: Show HN: A New, Clean Geolocation API

#93

Earlier quoted context omitted.

True but for most users it's enough. And it's sometimes the only information they have if the geolocation api doesn't give them anything.

If the geolocation api doesn't give anything - that probably means the user has chosen to configure it this way because they don't want to share their location. You should probably ask them in case you actually need to know where they are.

True. But what language should you ask them in? Correctly assuming some details improves the UX for the many.

Re: Show HN: A New, Clean Geolocation API

#94

Congrats on the launch and the HN coverage @jonathan-kosgei! Looks very similar to my service, https://ipinfo.io : $ curl ipinfo.io/8.8.8.8 { "ip": "8.8.8.8", "hostname": "google-public-dns-a.google.com", "city": "Mountain View", "region": "California", "country": "US", "loc": "37.3860,-122.0840", "org": "AS15169 Google LLC", "postal": "94035", "phone": "650" } It also started as a simple geolocation API when I first…

Thanks coderholic! :). I took a lot of inspiration from your service but built around solving a number of pain points. Would love to chat and talk sometime :)

Re: Show HN: A New, Clean Geolocation API

#95

Earlier quoted context omitted.

Good to hear, but I'd still be a bit concerned that the wording above might lead some inexperienced/not-security-conscious person to send you their details via email outright.

Good point, I think there's another way we could do it. Let me fix that.

You actually have good language right on your /faq.html page that should address this.

>Yes, send an email to support@ipdata.co requesting the change. You will receive a link from where you'll be able to securely update your details.

Re: Show HN: A New, Clean Geolocation API

#96
post #75
post #72

Tangential but I find it funny that such a simple service has libraries for so many different languages. Is one simple HTTP call and JSON deserialization that hard? Personally I'd be more concerned about bringing yet another 3rd party module (leftpad, security, maintenance) than doing GET + JSON.parse but maybe convenience is what's most important.

One of the first things people tend to look at for an API is whether or not there's a library that makes integration as easy as possible. One HTTP call and JSON deserialization is often more thought and effort than people want to put in.

> One HTTP call and JSON deserialization is often more thought and effort than people want to put in.

I rest my case.

Re: Show HN: A New, Clean Geolocation API

#97

> Get the following datapoints from any IP address; Again :-( I just wonder if people will ever stop making assumptions about others given their IP address or hair colours and divide the Internet on these slippery grounds. The only legitimate and valid way to determine the client's location automatically is the browser or the OS geolocation API, and for the language it is the HTTP_ACCEPT_LANGUAGE header. The fact I h…

This comment reminds me of the couple of people on HN that complain everytime someone shows off a new product and it doesn't work well in their text only lynx browser.

It's such an extreme edge case that it doesn't really matter. (unless you are of course targeting that type of market).

In other words, IP address gives a general location in a huge number of cases.

Re: Show HN: A New, Clean Geolocation API

#98

Congrats on the launch and the HN coverage @jonathan-kosgei! Looks very similar to my service, https://ipinfo.io : $ curl ipinfo.io/8.8.8.8 { "ip": "8.8.8.8", "hostname": "google-public-dns-a.google.com", "city": "Mountain View", "region": "California", "country": "US", "loc": "37.3860,-122.0840", "org": "AS15169 Google LLC", "postal": "94035", "phone": "650" } It also started as a simple geolocation API when I first…

where do you guys get all this ip-to-location data from?

Re: Show HN: A New, Clean Geolocation API

#100
post #78

Earlier quoted context omitted.

You can see all the datapoints we provide by visiting our homepage https://ipdata.co or by making a call in your terminal via curl https://api.ipdata.co

If you are able to add detection for VPN then this is something my company would happily pay for.

Thank you for sharing your need for this. I'm going to make this a priority. If you'd send me an email jonathan at ipdata dot co, just a quick hello, I could keep you up to date on our progress as we develop this.
Post reply on HN