2

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 ?

Vikas Arora
  • 1,666
  • 2
  • 17
  • 38
user3530719
  • 57
  • 1
  • 8

1 Answers1

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.

enter image description here

Find the whole list here

Shankar Narayana Damodaran
  • 68,075
  • 43
  • 96
  • 126