5

i am using http://api.easyjquery.com/ips/?ip=115.119.253.90&full=true this api for getting current location but when this site goes down i am not able to get current location.

can google provide any api to find current location using ip.

rash111
  • 1,307
  • 4
  • 19
  • 35
  • You obviously know from your post that your end goal is to find a secondary location API, yet you show absolutely no effort. So basically you want us to google this for you? -1 – Corbin May 12 '12 at 08:51
  • possible duplicate of [is there a good PHP geolocation service?](http://stackoverflow.com/questions/4724971/is-there-a-good-php-geolocation-service) – Corbin May 12 '12 at 08:52
  • @Corbin WTH? He doesn't want you to google it for him. He's asking if there's a google API for getting location using IP. It's a question. – Jack May 12 '12 at 08:53
  • @Jack Oh no, I understood his question. Just he is capable of googling "google geolocation api" by himself. "can google provide any api to find current location using ip" is not exactly a difficult question. – Corbin May 12 '12 at 08:55

1 Answers1

5

If you don't want to use the HTML5 Geolocoation API, you can detect a bit from IP.

Or try other other solution

The Google Geocoding API

Geolocator-PHP

Maxmind http://www.maxmind.com/app/php

ipinfodb

Hasse Björk
  • 1,431
  • 13
  • 19
Moyed Ansari
  • 8,436
  • 2
  • 36
  • 57
  • 3
    While these links may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Jay Blanchard Apr 24 '17 at 19:33