Get Restaurants near by results

Discussion in 'PHP' started by ysribharath, May 13, 2014.

  1. #1
    Hi ..

    i would like to Get list of Restaurants near by using google maps api ..but i am not sure how to get it ..i have seen google docs but i am bit confused as i am very new to api's and all

    can any one help me a piece of code .. or a working php script available ..some thing like the below image

    http://blumenthals.com/blog/wp-content/uploads/2014/04/photo-3-2-576x1024.png

    [​IMG]

    Thank you in advance
     
    ysribharath, May 13, 2014 IP
  2. digdan

    digdan Active Member

    Messages:
    21
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    83
    #2
    You will most likely need to scrape this information, or purchase it. If you wish to purchase the information you can get a vast amount of results ( aggregated by many data points ) through http://www.factual.com/

    - OR -

    You can scrape a service site like factual. Its been done.
     
    digdan, May 13, 2014 IP
  3. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #3
    nico_swd, May 14, 2014 IP
  4. digdan

    digdan Active Member

    Messages:
    21
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    83
    #4
    Since Google has changed the way their API services work, I have been unable to get those results. I do know the URL formatting would be like :

    https://maps.googleapis.com/maps/api/place/radarsearch/json?location=48.859294,2.347589&radius=50&types=restaurant|food|cafe&sensor=false&key=AddYourOwnKeyHere

    But once again, I can not get it to work myself as Google prevents certain API access, and it would seem this is one.
     
    digdan, May 14, 2014 IP
    Nigel Lew likes this.