Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Pash237
Last active October 17, 2018 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pash237/92c4d9da1db60b23dc2fabb5909483cd to your computer and use it in GitHub Desktop.
Save Pash237/92c4d9da1db60b23dc2fabb5909483cd to your computer and use it in GitHub Desktop.
{
"predictions" : [
{
"description" : "Невский проспект, Санкт-Петербург, Россия",
"id" : "8b5302290d3e53492574c5d5c7b01982a206b782",
"matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "EkzQndC10LLRgdC60LjQuSDQv9GA0L7RgdC_0LXQutGCLCDQodCw0L3QutGCLdCf0LXRgtC10YDQsdGD0YDQsywg0KDQvtGB0YHQuNGP",
"reference" : "EkzQndC10LLRgdC60LjQuSDQv9GA0L7RgdC_0LXQutGCLCDQodCw0L3QutGCLdCf0LXRgtC10YDQsdGD0YDQsywg0KDQvtGB0YHQuNGP",
"structured_formatting" : {
"main_text" : "Невский проспект",
"main_text_matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "Санкт-Петербург, Россия"
},
"terms" : [
{
"offset" : 0,
"value" : "Невский проспект"
},
{
"offset" : 18,
"value" : "Санкт-Петербург"
},
{
"offset" : 35,
"value" : "Россия"
}
],
"types" : [ "route", "geocode" ]
},
{
"description" : "Невский проспект, Санкт-Петербург, Россия",
"id" : "89e02c4189ca2fc6a172ac74630a9caf5e6029da",
"matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJowgFmAgxlkYRtsWNJRWnOGk",
"reference" : "ChIJowgFmAgxlkYRtsWNJRWnOGk",
"structured_formatting" : {
"main_text" : "Невский проспект",
"main_text_matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "Санкт-Петербург, Россия"
},
"terms" : [
{
"offset" : 0,
"value" : "Невский проспект"
},
{
"offset" : 18,
"value" : "Санкт-Петербург"
},
{
"offset" : 35,
"value" : "Россия"
}
],
"types" : [ "transit_station", "point_of_interest", "establishment", "geocode" ]
},
{
"description" : "Невский район, Санкт-Петербург, Россия",
"id" : "479867a83da21f1995adfa0edc6314aa6c4b4978",
"matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJNYplWAgvlkYReAkK-Xw0N6Y",
"reference" : "ChIJNYplWAgvlkYReAkK-Xw0N6Y",
"structured_formatting" : {
"main_text" : "Невский район",
"main_text_matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "Санкт-Петербург, Россия"
},
"terms" : [
{
"offset" : 0,
"value" : "Невский район"
},
{
"offset" : 15,
"value" : "Санкт-Петербург"
},
{
"offset" : 32,
"value" : "Россия"
}
],
"types" : [ "sublocality_level_2", "sublocality", "political", "geocode" ]
},
{
"description" : "Метро Невский проспект, Санкт-Петербург, Россия",
"id" : "3727023d9b0febb991d776af96e1a62155642aa3",
"matched_substrings" : [
{
"length" : 3,
"offset" : 6
}
],
"place_id" : "ChIJERciYA8xlkYRCZTaFIwhzqU",
"reference" : "ChIJERciYA8xlkYRCZTaFIwhzqU",
"structured_formatting" : {
"main_text" : "Метро Невский проспект",
"main_text_matched_substrings" : [
{
"length" : 3,
"offset" : 6
}
],
"secondary_text" : "Санкт-Петербург, Россия"
},
"terms" : [
{
"offset" : 0,
"value" : "Метро Невский проспект"
},
{
"offset" : 24,
"value" : "Санкт-Петербург"
},
{
"offset" : 41,
"value" : "Россия"
}
],
"types" : [ "transit_station", "point_of_interest", "establishment", "geocode" ]
},
{
"description" : "Невский Центр, Невский проспект, Санкт-Петербург, Россия",
"id" : "7c57cf655c7abd6bd2c6a5925c95b1e24b8d5eb3",
"matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"place_id" : "ChIJgQAUuaQxlkYRfWfoaT8cuKI",
"reference" : "ChIJgQAUuaQxlkYRfWfoaT8cuKI",
"structured_formatting" : {
"main_text" : "Невский Центр",
"main_text_matched_substrings" : [
{
"length" : 3,
"offset" : 0
}
],
"secondary_text" : "Невский проспект, Санкт-Петербург, Россия"
},
"terms" : [
{
"offset" : 0,
"value" : "Невский Центр"
},
{
"offset" : 15,
"value" : "Невский проспект"
},
{
"offset" : 33,
"value" : "Санкт-Петербург"
},
{
"offset" : 50,
"value" : "Россия"
}
],
"types" : [ "establishment" ]
}
],
"status" : "OK"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment