Google places API return a single type “car_repair”

前端 未结 3 710
囚心锁ツ
囚心锁ツ 2020-12-17 15:43

I\'m using Google places API and it is returning all the places in my location. However I only want it to return a type for \"car-repair\" I think I nearly have it but I\'m

3条回答
  •  感情败类
    2020-12-17 16:25

    Try with a query similar to this: Location is in format latitude,longitude...and be careful is "types" not type.

    https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=54.27,-8.47&radius=1000&types=car_repair&key=AddYourOwnKeyHere
    

提交回复
热议问题