# Get data(street name) from geocoder google api

**URL:** <https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352>\
**Category:** Questions about Thunkable X\
**Created:** [July 18, 2018, 8:51am UTC](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352 "2018-07-18T08:51:59Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Icaro\_Alencar](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@Icaro\_Alencar](https://community.thunkable.com/u/Icaro_Alencar)\
**Post date:** [August 19, 2018, 3:48am UTC](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352/21 "2018-08-19T03:48:47Z")

</div>

ja consegui !!!

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/407af6dd71920d29080e29fa341ccbc282e6a2e0.png)

---

<div class="post-metadata">

**Author:** ![rojored12](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rojored12](https://community.thunkable.com/u/rojored12)\
**Post date:** [September 26, 2018, 5:30am UTC](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352/22 "2018-09-26T05:30:45Z")

</div>

Hey there… again. I am so sorry to bother y´all but I am sure I´ve follwed your instructions and I don´t know why this thing is still messed up.

This is my json file

[  
{  
“Answer”: “Answer A”  
},  
{  
“Answer”: “Answer B”  
},  
{  
“Answer”: “Answer C”  
},  
{  
“Answer”: “Answer D”  
}  
]

This is my design in which you can see the local file is uploaded

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/9/b9b28a3de7c652331a2daa9a986222e1cff376ff.jpg)

And these are my blocks

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/c/1c0d7265e7daa6fdcae2fa5e92cc10f85030dbd7.png)

I´ve tried different file extensions: .js , .json and .txt  
And I don´t know why on my app Label still says “Label”

I´d appreciate your help

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [September 26, 2018, 6:11pm UTC](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352/23 "2018-09-26T18:11:38Z")

</div>

David,

The key that you use in your Local Storage Get block needs to be exactly that same as the key that you presumably used in a Local Storage Save block somewhere else in your app.

In the meantime, you might want to first just set your label to the JSON value returned by your Local Storage Get block (you might also want to increase the width and height of the label so that it will fit all the JSON). Assuming that the JSON looks good, you might then want to display the result of your `'get property ...'` blocks (you can use `'generate JSON from object'` to convert that value to displayable JSON). Doing these steps will help you to debug your blocks and see where the error might be.

If none of the above help, could you post a share/copy link of your project ([here’s](https://docs.thunkable.com/thunkable-cross-platform/share) how)? That might allow us to give you more help.

-Mark

---

<div class="post-metadata">

**Author:** ![Alan](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Alan](https://community.thunkable.com/u/Alan)\
**Post date:** [September 30, 2018, 6:17pm UTC](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352/24 "2018-09-30T18:17:41Z")

</div>

Im able to extract the place names of my surrounding location, but i need the photo reference as well which is in the json list from the api but now i need also extract the phto reference, why can i do it with “name” but not “photo reference” - what json path am i missing?

see the blocks pls:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/7/3702f0e574b42ca3651e4b11f1f9eea504302276.png)

also this is what my json result looks like from the url:

{  
“html\_attributions” : ,  
“next\_page\_token” : “CqQCFwEAAPlMLjSfkOtUDbFa7SSiMqDp6\_tUGbCLDmM4euas9MrP51PZCSVx3GtKlYXRdritUYz4WA\_qkBbBZ\_5b833VV5sPPNHJeDt9otfDuNXSVKuuY-MvTcGAlwCqjxSAxtaA5SHn05PP1kr-IAMoN8yknh7gAIKAbX6i86cKfhw6SGPgfSxo6BMyWlYfriJqcReqES2sNtsqQ0DR6SkAzZDoPdAR8qt9ehLSWPeE8Pe3H6i7GOXE2Df\_Jvf\_gZiQC0rH\_ytGBtUnEBWvJwZyzqqnqhWg1V2AuB7QXQseJtoDZgyDYWN3vJNMdqB8yOtYkLOZ4Q6M9ANZ-LIcod2Og56kWpb8c\_DOSY8o6WhfJdGiylKvXfTdUa4UtoV-c3ypY6iLZRIQI7DCTqEqXFOyB\_nmxuBoaBoUkkt7hymQyGtfVAf4RfajiJ1TMu8”,  
“results” : [  
{  
“geometry” : {  
“location” : {  
“lat” : -29.7870389,  
“lng” : 31.02204219999999  
},  
“viewport” : {  
“northeast” : {  
“lat” : -29.7457011,  
“lng” : 31.0673288  
},  
“southwest” : {  
“lat” : -29.8121719,  
“lng” : 30.990419  
}  
}  
},  
“icon” : “[https://maps.gstatic.com/mapfiles/place\_api/icons/geocode-71.png](https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png)”,  
“id” : “2481b08a523fa7dfcc52339521fb6289d93880cf”,  
“name” : “Durban North”,  
“photos” : [  
{  
“height” : 1836,  
“html\_attributions” : [  
“\u003ca href=“[https://maps.google.com/maps/contrib/116936888055646766012/photos](https://maps.google.com/maps/contrib/116936888055646766012/photos)”\u003emuhummed bhayla\u003c/a\u003e”  
],  
“photo\_reference” : “CmRaAAAA4fDIxCIg1tlptb\_xfUweNmPIb8yXE64UbcDO\_5CFVi2la0RbXC6qUAT2cumALD4akUQep1ug8BJ9K9dpT7uGvm53MFfVoXgjnByRpVWRiYZIMp0XbHnQVbokD86IRGdMEhAyubYZ7nLSGPkRUIuTHO45GhQN1A34hZaQYZMl4mrreOlqcvv\_gA”,  
“width” : 3264  
}  
],  
“place\_id” : “ChIJ04EcnZEG9x4Rr-9fNPScsTo”,  
“reference” : “ChIJ04EcnZEG9x4Rr-9fNPScsTo”,  
“scope” : “GOOGLE”,  
“types” : [“locality”, “political”],  
“vicinity” : “Durban North”  
},  
{  
“geometry” : {  
“location” : {  
“lat” : -29.771907,  
“lng” : 31.037212  
},  
“viewport” : {  
“northeast” : {  
“lat” : -29.7705679697085,  
“lng” : 31.03858208029149  
},  
“southwest” : {  
“lat” : -29.7732659302915,  
“lng” : 31.03588411970849  
}  
}  
},  
“icon” : “[https://maps.gstatic.com/mapfiles/place\_api/icons/lodging-71.png](https://maps.gstatic.com/mapfiles/place_api/icons/lodging-71.png)”,  
“id” : “44ef45566537d9237dd047767a98a100d72b8584”,  
“name” : “Duikerfontein B & B”,  
“photos” : [  
{  
“height” : 2988,  
“html\_attributions” : [  
“\u003ca href=“[https://maps.google.com/maps/contrib/115866465107119235256/photos](https://maps.google.com/maps/contrib/115866465107119235256/photos)”\u003eRudi Rabie\u003c/a\u003e”  
],  
“photo\_reference” : “CmRaAAAAgxNwa1D-bHFzlZD5uB0-4uOjXkD5BB4uIUM72lD6zmvMbONo\_UpMgSHE1Y5\_jsAkdT44XOWalmNI4H9jV8RgerJ5AuXvfn-S7dXkHhNeieN7EXFM2IlUsiejCNAMiUb9EhBh4lpRTbgcf6H0Y5a5H0AtGhT26GIRsf-gvvHaU9\_Icolgraa\_xg”,  
“width” : 5312  
}  
],  
“place\_id” : “ChIJM1QVkGAG9x4R\_I\_fl0FSqq8”,  
“plus\_code” : {  
“compound\_code” : “62HP+6V Durban North, South Africa”,  
“global\_code” : “5G2H62HP+6V”  
},  
“rating” : 4.6,  
“reference” : “ChIJM1QVkGAG9x4R\_I\_fl0FSqq8”,  
“scope” : “GOOGLE”,  
“types” : [“lodging”, “point\_of\_interest”, “establishment”],  
“vicinity” : “135 Umhlanga Rocks Drive, Durban North, Durban”  
},  
{  
“geometry” : {  
“location” : {  
“lat” : -29.776884,  
“lng” : 31.037772  
},  
“viewport” : {  
“northeast” : {  
“lat” : -29.7753892197085,  
“lng” : 31.0391405802915  
},  
“southwest” : {  
“lat” : -29.7780871802915,  
“lng” : 31.0364426197085  
}  
}  
},  
“icon” : “[https://maps.gstatic.com/mapfiles/place\_api/icons/lodging-71.png](https://maps.gstatic.com/mapfiles/place_api/icons/lodging-71.png)”,  
“id” : “36e7d67cadae264c1c70b747b78d72a8ac2c4dd6”,  
“name” : “Beachway Cottages”,  
“place\_id” : “ChIJNzllx14G9x4RvArtT5M0eC8”,  
“plus\_code” : {  
“compound\_code” : “62FQ+64 Durban North, South Africa”,  
“global\_code” : “5G2H62FQ+64”  
},  
“rating” : 5,  
“reference” : “ChIJNzllx14G9x4RvArtT5M0eC8”,  
“scope” : “GOOGLE”,  
“types” : [“lodging”, “point\_of\_interest”, “establishment”],  
“vicinity” : “12 Beachway, Durban North, Durban”  
},  
{  
“geometry” : {  
“location” : {  
“lat” : -29.776306,  
“lng” : 31.034142  
},  
“viewport” : {  
“northeast” : {  
“lat” : -29.7750286197085,  
“lng” : 31.0356409302915  
},  
“southwest” : {  
“lat” : -29.7777265802915,  
“lng” : 31.0329429697085  
}  
}  
},  
“icon” : “[https://maps.gstatic.com/mapfiles/place\_api/icons/generic\_business-71.png](https://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png)”,  
“id” : “3e5c222446e9ae80f0508818d86e1d758f527e00”,  
“name” : “Flying Solo”,  
“opening\_hours” : {  
“open\_now” : false  
},  
“place\_id” : “ChIJLb7AeV8G9x4RfUAkEnb4zlk”,  
“plus\_code” : {  
“compound\_code” : “62FM+FM Durban North, South Africa”,  
“global\_code” : “5G2H62FM+FM”  
},  
“reference” : “ChIJLb7AeV8G9x4RfUAkEnb4zlk”,  
“scope” : “GOOGLE”,  
“types” : [“travel\_agency”, “point\_of\_interest”, “establishment”],  
“vicinity” : “39 Umhlanga Rocks Drive, Durban North”  
},

---

<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, 11:55am UTC](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352/25 "2024-11-08T11:55:20Z")

</div>

Closed on November 8, 2024, 11:55am UTC



[Previous page](https://community.thunkable.com/t/get-data-street-name-from-geocoder-google-api/36352.md?page=1)
