Hello,
First of all, many thanks for the example/demo.
I'd like to retrieve some extra values from the results which are part from the address_components segment.
Do you know how I can assign the value long_name value from types postal_code as the results needs to be filtered on "type". Please find below the output of the response and attached the screenshot of the REST API.
{
"long_name": "Netherlands",
"short_name": "NL",
"types": [
"country",
"political"
]
},
{
"long_name": "1008 DG",
"short_name": "1008 DG",
"types": [
"postal_code"
]
}