# Auto completer api maps

**URL:** https://community.thunkable.com/t/auto-completer-api-maps/978425
**Category:** Questions about Thunkable X
**Created:** [November 16, 2020, 9:53pm UTC](https://community.thunkable.com/t/auto-completer-api-maps/978425 "2020-11-16T21:53:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)
#### Post date: [November 16, 2020, 9:53pm UTC](https://community.thunkable.com/t/auto-completer-api-maps/978425/1 "2020-11-16T21:53:34Z")

</div>

Hello everyone, can someone help me, how can I convert, the data that I get from the auto completer api  
I basically want to do an auto completer, how can I convert the data I get from the api into a list  
when I put this path  
[https://maps.googleapis.com/maps/api/js?key=YOUR\_API\_KEY&libraries=places&callback=initMap](https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places&callback=initMap)  
it returns me a lot of data, I guess that data must be the addresses, now how do I convert that data into a list

 ![Caautoptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/821add4309bc6b1c78845807070848bcd1117553.jpeg)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 17, 2020, 2:30am UTC](https://community.thunkable.com/t/auto-completer-api-maps/978425/2 "2020-11-17T02:30:15Z")

</div>

It looks like you’re getting your data response in the wrong format. You’ll need it in JSON format. Are you using the Google Places API? Your URL should look something like this (see [this link](https://developers.google.com/places/web-service/autocomplete) for examples):

[https://maps.googleapis.com/maps/api/place/autocomplete/json?input=1600+Amphitheatre&key=[YourKey]&sessiontoken=1234567890](https://maps.googleapis.com/maps/api/place/autocomplete/json?input=1600+Amphitheatre&key=%5BYourKey%5D&sessiontoken=1234567890)

But of course replacing [YourKey] with your actual authentication key value.

And the response you get should be in JSON format similar to this:

 ![Screen Shot 2020-11-16 at 6.36.20 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/d/4dcc8f976c149b6a3f9086fd39e53d396f97d9f2.png)

---

<div class="post-metadata">

### Author: ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)
#### Post date: [November 17, 2020, 5:19am UTC](https://community.thunkable.com/t/auto-completer-api-maps/978425/3 "2020-11-17T05:19:59Z")

</div>

hi thanks for helping me, if it worked correctly

 ![Cssssssssaptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/3/1358634b6ab8f25b023b829b168ad28179a5d577.jpeg)  
now how can I do an autocomplete?  
or how do I get the street data in a list to do an autocomplete

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 17, 2020, 6:15am UTC](https://community.thunkable.com/t/auto-completer-api-maps/978425/4 "2020-11-17T06:15:32Z")

</div>

Well, the part of the url in bold below is where you would type the partial text string to autocomplete:

[https://maps.googleapis.com/maps/api/place/autocomplete/json?input= **1600+Amphitheatre** &key=[YourKey]&sessiontoken=1234567890](https://maps.googleapis.com/maps/api/place/autocomplete/json?input=1600+Amphitheatre&key=%5BYourKey%5D&sessiontoken=1234567890)

So you can use a text “join” block to join the first part of that url with a variable (e.g. text input block value) and then with the last part of the url.

As for parsing the JSON, there are many examples on the forums but if you get stuck, post a screenshot and someone can help you.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/auto-completer-api-maps/978425/5 "2024-11-08T12:21:38Z")

</div>


