# Get Current Location with Location Sensor

**URL:** https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293
**Category:** Questions about Thunkable X
**Tags:** locationsensor
**Created:** [November 28, 2020, 1:46pm UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293 "2020-11-28T13:46:29Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 28, 2020, 1:46pm UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/1 "2020-11-28T13:46:29Z")

</div>

Hi,  
I am new to Thunkable.

I want to get the current address ( ie. Flat No, Street Name, City, State, Pincode, etc. )

In App Inventor, the Location Sensor has a `get Current Adress` property. But in thunkanble, I can only get the Latitude, longitude and altitude.

Is there any way to get the Address?

Thanks 🙂

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [November 28, 2020, 2:15pm UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/2 "2020-11-28T14:15:44Z")

</div>

welcome to our community @sai1910!! 😄  
i think you might try api i guess

---

<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 28, 2020, 5:39pm UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/3 "2020-11-28T17:39:41Z")

</div>

You need to use a reverse geocoding API such as this: [https://developers.google.com/maps/documentation/javascript/examples/geocoding-reverse](https://developers.google.com/maps/documentation/javascript/examples/geocoding-reverse).

I haven’t used that exact API. My app uses the Open Weather Map API which returns a city name (but not a specific address).

---

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 29, 2020, 4:39am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/4 "2020-11-29T04:39:08Z")

</div>

Thanks. But how do I use the API?

Can you please give me a demo/ explain the steps in a simple way on how to use it?

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [November 29, 2020, 4:39am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/5 "2020-11-29T04:39:29Z")

</div>

use the web api component

---

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 29, 2020, 4:40am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/6 "2020-11-29T04:40:04Z")

</div>

Please explain step-by-step…

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [November 29, 2020, 4:40am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/7 "2020-11-29T04:40:39Z")

</div>

you can see my web api apps

> [@Weather App with web api](http://community.thunkable.com/t/weather-app-with-web-api/908844):
>
> finally a weather app get the app at this link - latest update add your own city

and

> [@A Lyrics app with web api](http://community.thunkable.com/t/a-lyrics-app-with-web-api/908859):
>
> new app app name - Lyrics app! just write the song and it’s singer and get the lyrics get the project at link -

---

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 29, 2020, 4:41am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/8 "2020-11-29T04:41:03Z")

</div>

Thanks! I’ll see to it.

---

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 29, 2020, 4:52am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/9 "2020-11-29T04:52:24Z")

</div>

I still didn’t understand how to get and use the API for my need…

Can you please explain it to me exactly how do I

1. Get the API
2. Implement it i my app
3. Use it to get the Adress.

(Sorry. I am new here.)

---

<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 29, 2020, 5:34am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/10 "2020-11-29T05:34:20Z")

</div>

@sai1910 Web APIs are definitely an advanced feature of Thunkable. It’s not as simple as 1, 2, 3. In fact, it may take you a few hours to figure out how to configure the API and test it. If you have a programming background, it may not take you that long.

There’s also often a fee for using APIs.

Start with the link I provided for Google’s Geocoding API. If you get stuck trying to implement it, ask specific questions and people here can help you. There are also many tutorial videos that explain how to use APIs with Thunkable. Just Google _thunkable api_ and you’ll be able to get started.

---

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 29, 2020, 6:47am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/11 "2020-11-29T06:47:37Z")

</div>

Ok, So I managed to create an API Key using the instructions at [https://developers.google.com/maps/documentation/javascript/get-api-key#creating-api-keys](https://developers.google.com/maps/documentation/javascript/get-api-key#creating-api-keys)

What is the next step for me to do?

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [November 29, 2020, 7:14am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/12 "2020-11-29T07:14:55Z")

</div>

instructions will be given on that website how to use

---

<div class="post-metadata">

### Author: ![sai1910](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sai1910](https://community.thunkable.com/u/sai1910)
#### Post date: [November 29, 2020, 7:16am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/13 "2020-11-29T07:16:58Z")

</div>

Nothing is mentioned there how to implement it into Thunkable

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [November 29, 2020, 7:20am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/14 "2020-11-29T07:20:44Z")

</div>

not into thunkable steps to implement in any other app

---

<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 29, 2020, 7:39am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/15 "2020-11-29T07:39:13Z")

</div>

Like I said, you’ll have to watch some tutorial videos and learn how to use APIs. There will be a REST API call that returns a JSON result. But it’s not a quick fix – it’s going to take some time to learn all of this.

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [December 1, 2020, 8:54am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/17 "2020-12-01T08:54:44Z")

</div>

> [@luv.ak.tech](#):
>
> you can see my web api apps
> 
> > [@](#):
> >
> > finally a weather app get the app at this link - latest update add your own city
> 
> and
> 
> > [@](#):
> >
> > new app app name - Lyrics app! just write the song and it’s singer and get the lyrics get the project at link -

did you see these for start?

> [@sai1910](#):
>
> abrupt answers…

hello @tatiang has explained it very clearly if you don’t understand then don’t say these words

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [December 1, 2020, 9:17am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/18 "2020-12-01T09:17:41Z")

</div>

if you want i and @tatiang will will help more but don’t say word like these

---

<div class="post-metadata">

### Author: ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)
#### Post date: [December 1, 2020, 9:23am UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/19 "2020-12-01T09:23:47Z")

</div>

a

---

<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:20pm UTC](https://community.thunkable.com/t/get-current-location-with-location-sensor/1005293/20 "2024-11-08T12:20:03Z")

</div>


