Skip to content

Instantly share code, notes, and snippets.

@Zakrevskijj
Created November 29, 2017 13:08
Show Gist options
  • Save Zakrevskijj/d909de361289ef2f869c4a390402c740 to your computer and use it in GitHub Desktop.
Save Zakrevskijj/d909de361289ef2f869c4a390402c740 to your computer and use it in GitHub Desktop.
// 20171129150815
// https://maps.googleapis.com/maps/api/place/textsearch/json?query=%D0%91%D1%80%D0%B0%D1%82%D1%8C%D1%8F+%D0%93%D1%80%D0%B8%D0%BB%D1%8C&key=AIzaSyCVrS8GL0CpbgOjZRKUhcvPkrg-vQoF1ck
{
"html_attributions": [
],
"results": [
{
"formatted_address": "Derybasivska Street, 17, Odessa, Odessa Oblast, Ukraine",
"geometry": {
"location": {
"lat": 46.48394279999999,
"lng": 30.7383119
},
"viewport": {
"northeast": {
"lat": 46.4853944802915,
"lng": 30.73967538029149
},
"southwest": {
"lat": 46.4826965197085,
"lng": 30.7369774197085
}
}
},
"icon": "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
"id": "48c93b21fd758af5288acf8c81b6a296e44c9fe2",
"name": "Grill Brothers",
"opening_hours": {
"open_now": true,
"weekday_text": [
]
},
"photos": [
{
"height": 432,
"html_attributions": [
"<a href=\"https://maps.google.com/maps/contrib/108522146022613979876/photos\">Братья Гриль</a>"
],
"photo_reference": "CmRaAAAA0oE6m9CnqDSfLyechJaazJP9lMwalwcOTAaJ4E_YeiLOaVtGiS8Y3ANZO9pwlkW9yrEpv45-Q042vqFjnpdlgjzWURrgvj2LT8iavaR2bodYIPorNzHWqtvNwarXfjxkEhDCUMV6CHD3w5nf9ZQ40061GhSLM1AcEYJgjb6MwNyprB8rRkfYAg",
"width": 960
}
],
"place_id": "ChIJT9KaipcxxkARjeJyhN9IMJg",
"rating": 4.5,
"reference": "CmRSAAAAolO3JNYwO72J-LHhTONiISHl66foR2-mpBLeyHmTU7lhsFxAUduk-CTZJgv8lL6A9kz7oRZvxynrB8ypc6_HFBe7upglZd6w3ToQ4XQDzxbj0HkhtcNP8wwQPpLISstVEhDh0OY2aRW2wRShhTOMEc2oGhTehIPpux6UCH7hH7fXhOjGTsq1eA",
"types": [
"restaurant",
"food",
"point_of_interest",
"establishment"
]
},
{
"formatted_address": "Malaya Sadovaya St, 8, St Petersburg, Russia, 191011",
"geometry": {
"location": {
"lat": 59.9346501,
"lng": 30.33772160000001
},
"viewport": {
"northeast": {
"lat": 59.9360071802915,
"lng": 30.3390021302915
},
"southwest": {
"lat": 59.93330921970848,
"lng": 30.3363041697085
}
}
},
"icon": "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
"id": "4dd08f12d68022397784ac83f67be8ad6ec165e3",
"name": "Grill Brothers",
"opening_hours": {
"open_now": true,
"weekday_text": [
]
},
"photos": [
{
"height": 3456,
"html_attributions": [
"<a href=\"https://maps.google.com/maps/contrib/112859804999594679834/photos\">Евгений Ануфриев</a>"
],
"photo_reference": "CmRaAAAA0oKARoPbwrcFIyGTAiXV-0_f0kuCF5K27Im9GJap_zJGpvl0G_MR9MgIUyYTZVFH1zTiLE9kRs762bgg5FhX_F-KbReGGcSl5Qvu6UeBxa7B66eyfXUjF52BWagSSh6UEhD19oPoJsE2toHUBZaLp6GJGhQC0jFmRTlKp9dwQ1oVfMTjZejlkg",
"width": 4608
}
],
"place_id": "ChIJm09bOggxlkYRywMFr-9VN4E",
"rating": 3.9,
"reference": "CmRSAAAATKnHXIg6_4evBavMUARetedJnLhdeRGtD3TvBK1i9g7VjTn9yoY2tuU-cR8g1DPj4U5frq2KaVQYm5tD0wilkCCL8tipc3yRhVgM-cP9tv7rK4TJZamaMJF4VeGjXdBaEhBqZgqnyTAsLccxVCVYPQPpGhSyn5lB4w1aHznzViY4R1AIqNNOzA",
"types": [
"bar",
"restaurant",
"food",
"point_of_interest",
"establishment"
]
},
{
"formatted_address": "Ulitsa Sovetskaya, 56Б, Severodvinsk, Arkhangelsk Oblast, Russia, 164500",
"geometry": {
"location": {
"lat": 64.5635152,
"lng": 39.81791150000001
},
"viewport": {
"northeast": {
"lat": 64.56473943029151,
"lng": 39.8193710802915
},
"southwest": {
"lat": 64.5620414697085,
"lng": 39.8166731197085
}
}
},
"icon": "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
"id": "6874a4ffb1f299f7572892f96d5ebcef49a3f9ae",
"name": "Brothers Grill",
"opening_hours": {
"open_now": true,
"weekday_text": [
]
},
"photos": [
{
"height": 4640,
"html_attributions": [
"<a href=\"https://maps.google.com/maps/contrib/104684785757495658677/photos\">Vladimir Potoskuev</a>"
],
"photo_reference": "CmRaAAAAoRP2yUlAHN-6uTjoMliZxOMEY81XazF13R8YYS-_xiDEFeMzh9N3B28Ozt3QR-HqRCoDayF5F9pS-2Od6gxOFkiOLduG27M8dC5Va-9lx0IBu2vybbEFrM7glAVQnMOeEhAwNaa7JCCP7gW4ed9BQzbcGhSwGCGHswTEObwfKIGWp_ukm--0Fg",
"width": 3480
}
],
"place_id": "ChIJ8cMGnT9CGEQRUwPX9a90gj4",
"rating": 4.6,
"reference": "CmRRAAAA5iWIH_xzv_78w0kiUbLNhXZNiLXyWY-oDUBtayFVIuP_t1Lb8RERW2onQZg3UEnjTPSoa2Jtjn5MbedUvwvsfZ0f3_KcdPNydJcG0i7-nV2QVJrOBS0T0qKSoPhfxAwJEhC5HmPTyk5hV-7_Cz32MIkXGhSNfdcwaT7woVo-X3T7bm5ehmj8Og",
"types": [
"restaurant",
"food",
"point_of_interest",
"establishment"
]
},
{
"formatted_address": "Prospekt Troitskiy, 104, Arkhangelsk, Arkhangelsk Oblast, Russia, 163000",
"geometry": {
"location": {
"lat": 64.54461169999999,
"lng": 40.51770459999999
},
"viewport": {
"northeast": {
"lat": 64.54600708029149,
"lng": 40.5185980302915
},
"southwest": {
"lat": 64.54330911970848,
"lng": 40.5159000697085
}
}
},
"icon": "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
"id": "a4fd39ab967eb7685dd0acbd8b0a5f1ed1d92232",
"name": "Brothers grill",
"opening_hours": {
"open_now": true,
"weekday_text": [
]
},
"photos": [
{
"height": 2322,
"html_attributions": [
"<a href=\"https://maps.google.com/maps/contrib/102335392373021902825/photos\">Оксана Сидоренко</a>"
],
"photo_reference": "CmRaAAAAFJwPzjZlGpoSit99lPdSKswTG0KU2gio6dtPkx0TYkYtaQApO3AsTJLZldEyaAwiKE64iGtQQ9qusuVKUdXYVzRpkEQhWu1Xdv9BQyLRxap0u7vLtQVM_OsJCn7iC_9QEhBeTo_8y25EIT2dePXet6QtGhRXgaOoJ2CFcc-UMNB7kjcc1Cstuw",
"width": 4128
}
],
"place_id": "ChIJgUjYl4U2GEQRAVyiCdl4QfQ",
"rating": 4.4,
"reference": "CmRSAAAAWOSFYw_aTzQ2I5bD7357zXaxNVSbSz_Dd19BpznFIM1z1gVnkFOWWbG75yjDw0OierE7DD1Ztb53RzQh9r6h7DPbk-FNHGb9jvCILLBG_SA239oTXpWKJ6Y3nIWBQLLTEhCk0JI8GwNtmpyjSaWOuBrqGhS9AtXhDxcPA0z1HWPlo6TqsMN3kA",
"types": [
"cafe",
"bar",
"restaurant",
"food",
"point_of_interest",
"establishment"
]
}
],
"status": "OK"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment