Current Location works, too!
Wow! Did not know you could do that.
Right but I would try to return an array with all values and later using Single Value columns, choose and show the wished values reading the item position in array. This will apply in cases where I want to retrieve more than 4-5 values from JSON payload.
But, we have to modify/improve the David’s column/script to get an array.
Nice to see these ideas over here!.
David’s JSON Transform column would do that. You pull in the entire JSON string which contains all of the values, and then pick out what you need using the transform column, just like you can with an array and single value columns. The JSON Transform is a lot safer since you don’t need to assume the position of data in the JSON strings. Instead it queries it like an object, as opposed to reading through it like an array. You can still perform a single api call to get the entire json, but have as many transform columns as you need to parse out the data you need.
Yes!.. thinking it better, one can put several values separated by comma or slash and get an array using a Split Text column later:
..lat + "/" + ..lon + "/" + ..temp + "/" + ..temp + "/" + ..cityname
Ahh, I see what you’re saying. Yeah, that would work pretty good. You still have control over the number of elements in the array and what they are. That’s simpler than having several EC columns.
This was a helpful read:
Tried to get this working with the Google Places API Autocomplete but it errors, even though using the same URL in a browser returns a result, any ideas?
Google Places URL works in the browser:
Thanks a lot.
Successfully fetched 3000 Street Addresses from Coordinates.
I’m able to fetch youtube data api v3 from URL and parse.
LinkPreview API to grab featured title, description and image from any URL and display it in app:
I also getting the same error…any help on this?
It’s likely a CORS problem. I faced this many times and haven’t found out a way to get pass it.
I have just read on CORS and it is beyond me. Maybe @david can help?
I also find it strange when I forked David’s GitHub, published the page and use it, I get this error below.
@ThinhDinh any insight of how to make this fetch column work? based as it is I have seen it worked twice…meaning I saw the values properly populated.
@Robert_Petitto was there any settings you did different to avoid the errors we had? I followed the video closely, but to no avail.
It’s Github, so I assume you followed @Darren_Murphy’s guide to publish those Gits?
yes I did publish.
but even using David’s link, I have only seen system able to pull in the right data twice.
I started a new Glide Table (GT) to test and it is working fine. I think I tested using the Users GT and due to the fact that I had a lot of users, the amount of data it was trying to pull in may have upset the system.
Not all APIs can be fetched in the way this column works. They need to allow cross-origin requests.
Right. For example, Payhere doesn’t work unfortunately