I am developing php application in codeigniter in which i want to get all clinic and blood bank information near by latitude and longitude , so is there any api which get these information ?
Asked
Active
Viewed 875 times
1 Answers
0
Yes , you need to use The Google Geocoding API
- You need to sign-up for an API Key
- This service has its usage limits.
This is how you make a search request from your API.
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=APIKEY
Explanation (for the above search request):
Searches for Places of type 'food' within a 500m radius of a point in Sydney, Australia, containing the word 'harbour' in their name.
There is a list of supported place types and you can go through them and use it on your application.
Find the whole list here

Shankar Narayana Damodaran
- 68,075
- 43
- 96
- 126
-
Thanks for help, but when execute script then error from google { "error_message" : "This IP, site or mobile application is not authorized to use this API key.", "html_attributions" : [], "results" : [], "status" : "REQUEST_DENIED" } – user3530719 Apr 14 '14 at 07:03
-
Please see this post http://stackoverflow.com/a/22336836/1003917 and let me know if you have any issues. – Shankar Narayana Damodaran Apr 14 '14 at 07:18
-
when i create new server api then "The provided API key is expired" this message is come from google, – user3530719 Apr 14 '14 at 07:26
-
Sadly it seems like you need a business account for that https://developers.google.com/maps/documentation/business/ – Shankar Narayana Damodaran Apr 14 '14 at 07:40