Get address from Location object?

I have the following code in an async function that fetches the current location, anyone know how to use this to lookup the address?

let promise = Location.current();
let location = await promise;
// returns {"verticalAccuracy":4,"longitude":xxxxxxx,"latitude":yyyyyyy,"horizontalAccuracy":10,"altitude":45.898406982421875}

The whole script is here:

I remember using Googles Geocoder API for this a few years ago, not in Scriptable though. You may be able to use that.

iOS actually provides an API for looking up an address given latitude and longitude. I’ve added it to my backlog to bridge that in a future update.

Ok - I’ll wait for it to make it to Scriptable, thanks!