Я следил за документацией по местам в Algoias, у меня есть вход, который ищет города с помощью механизма Algolia API, но я хочу получить ответ в формате JSON на мой запрос (что-то вроде того, что я вижу в этой демонстрации: https://community.algolia.com/places/), Я слежу за документацией, но я действительно застрял: (.
Возможно ли это?
//This is my JS code, it just converts my input into a places search, I remove the AppId and the ApiKey just for show here!
var placesAutocomplete = places({
appId: 'Here goes my AppId, I remove it for show here',
apiKey: 'Here goes my ApiKey, I remove it for show here',
container: document.querySelector('#address-input')
});