INNER CODE UNIT · JavaScript
searchAddressDetails
genular/pandora · src/app/api/backend/index.js:182
export function searchAddressDetails(input, app_code, app_id) {
return request({
url:
"https://geocoder.cit.api.here.com/6.2/geocode.json?searchtext=" +
encodeURIComponent(input) +
"&app_id=" +
app_id +
"&app_code=" +
app_code +
"&gen=9&jsonattributes=1&locationattributes=address&maxresults=1&addressattributes=country,city,postalCode,addressLines&language=en-US",
method: "GET",
});
}
/**
* Returns all user queues and their details
* @param {[type]} query [description]
* @return {[type]} [description]