-
-
Save haibin/a65a6d03ace05898913e306840307bdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
haibin@zps-MacBook-Air ~> curl --request GET \ | |
--url 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=abc&location=1.2564%2C103.8189&type=lodging&keyword=Resorts%20World%20Sentosa%20Equarius%208%20Sentosa%20Gateway&language=en&rankby=distance' | |
{ | |
"html_attributions" : [], | |
"results" : [ | |
{ | |
"geometry" : { | |
"location" : { | |
"lat" : 1.257759, | |
"lng" : 103.816821 | |
} | |
}, | |
"icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/lodging-71.png", | |
"id" : "a383316239d188adc7eeff868622feb3817a20a1", | |
"name" : "Equarius Hotel™", | |
"opening_hours" : { | |
"open_now" : true, | |
"weekday_text" : [] | |
}, | |
"photos" : [ | |
{ | |
"height" : 1365, | |
"html_attributions" : [ | |
"\u003ca href=\"https://maps.google.com/maps/contrib/115550642139509778581/photos\"\u003eBruce Chao\u003c/a\u003e" | |
], | |
"photo_reference" : "CoQBdwAAAAHesKAuQWf6pXlA9zBAkcdLNmAYZMLCfVybiTohRN92l85ZHR-__k6oMfcWz34tb5egOQ4p7b_eC3nFWrJoZzucTIFu_z8drFSvpCB54PFOpm822kGJQEKMUh3cQ2lUGJZsBnzyN0HqriPjE4nvapgjgMmLR9Vw0VXg5FI25WJfEhBsPfe8_y0fS4JDisvw41u0GhS1PVqr28-lDCQZvZXEWY9FSTRZkw", | |
"width" : 2048 | |
} | |
], | |
"place_id" : "ChIJRWwV3VgZ2jERQocSGmEbvAY", | |
"rating" : 4.3, | |
"reference" : "CmRRAAAA8hwpfe3kdkz6LxklgNX-kvF0TfFGU35Lv0wmDFSGh_Jlq6qqm5XZW4ME1cBXY5LZzkqMKPYM1KY8JpYwQQqNsgmjWn8M819oY9uQH9RLj8M7cGD8uA8SidR6t5F7F3OtEhD7k10UnPxyBXBnUM_B4XH8GhTEFh9TirSBMbFkcmSqBuR-kBJFCg", | |
"scope" : "GOOGLE", | |
"types" : [ "spa", "lodging", "point_of_interest", "establishment" ], | |
"vicinity" : "8 Sentosa Gateway, Equarius Hotel" | |
} | |
], | |
"status" : "OK" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment