rafaelrinaldi / whereami

:round_pushpin: Get your geolocation information using freegeoip.app
MIT License
166 stars 11 forks source link

The freegeoip API will soon be discontinued #7

Closed Naereen closed 6 years ago

Naereen commented 6 years ago

Hi, First of all, great job on this nice little script! :clap: ! Second thing, if you run

$ whereami -r
{"__deprecation_message__":"This API endpoint is deprecated and will stop working on July 1st, 2018. For more information please visit: https://github.com/apilayer/freegeoip#readme", ...}

it points to this page where they explain that the freegeoip API will soon be discontinued.

Can you try to adapt your tool? The direction I would choose would the following: anyone who installs it and runs it for the first time is asked to open a free account on https://ipstack.com/, as suggested, and save their API key somewhere (e.g., ~/.ipstack.com.api.key), and then whereami just reads the key before calling the service. (I do the same for some of my scripts, e.g., wa.sh, a cli client to Wolfram|Alpha).

Using your own account and API for the tool will probably not scale, as the free account is quite limited:

If you only need basic IP to Geolocation data and do not require more than 10,000 requests per month, you can use the free account.

Thanks in advance!

Naereen commented 6 years ago

By the way, I have been using a different service for a year, http://ipinfo.io and this wrapper script, it works perfectly fine also!

rafaelrinaldi commented 6 years ago

Hey @Naereen thanks a lot for pointing this out, I had no idea. I'm gonna take a look at it as soon as I find some time.

If you feel like sending a PR, please feel free to do so.

Naereen commented 6 years ago

My pleasure. Well, I'm not so fluent in nodejs scripts, but I'll give it a quick try!

Naereen commented 6 years ago

Well, that should do. Won't have time to try more.

freegeoipapp commented 6 years ago

I've setup https://freegeoip.app

It's the same api - just a different TLD ;) let me know if you have any problems integrating.

Naereen commented 6 years ago

@rafaelrinaldi https://freegeoip.app/ works fine. I don't see your answer (received by email).

freegeoipapp commented 6 years ago

Great!

(My account was disabled for a second, that's why you coudn't see my last comment)

Naereen commented 6 years ago

OK, good! Great job for the freegeoipapp initiative, @freegeoipapp !

rafaelrinaldi commented 6 years ago

Awesome @freegeoipapp, thanks for the heads up. @Naereen thanks a lot for your PR, I do appreciate it. Just haven't had time to take a look at it yet.

Naereen commented 6 years ago

Don't worry.

julian-zehetmayr commented 4 years ago

I've setup https://freegeoip.app

  • HTTPS (no HTTP, sorry - it's 2018)
  • Rate limit of 15000/hour as before for FREE, guaranteed
  • No logs, no analytics - privacy alway in mind

It's the same api - just a different TLD ;) let me know if you have any problems integrating.

Hi!

This is Julian from apilayer. We'd be interested in having a chat with you about acquiring the freegeoip.app project.

Can you get in touch with me? julian at apilayer.com

silversillu commented 4 years ago

@freegeoipapp What's the plan? Are you going to sell freegeoip.app project to these guys? If so, it's time for a new TLD.

freegeoipapp commented 4 years ago

@silversillu it's not for sale.

"for FREE, guaranteed"

paulzehetmayr commented 4 years ago

@freegeoipapp We would be interested in a partnership with you and freegeoip.app. Can you shoot me an email at paul@apilayer.com?

victorosorioparis commented 4 years ago

@freegeoipapp don't give up. IPstack (which is related to Apilayer) can have its share of paid clients without having to remove everyone out of the market. They can offer a more friendly service and develop new features and be attractive because of that but apparently they would prefer to get clients by just removing out of the market free options which are important for developing projects.

If you need any help keeping up with this api please let the community know.