getDistance
$0.01/invocation
Calculates the great-circle distance between two geographical points.
getDistance(
)
=
loading...
API
python
Ruby
>_
Google Sheets
Chat
Email
To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN'
FuncLive.("getDistance", {
"p1": {
"lat": 52.52,
"lng": 13.405
},
"p2": {
"lat": 48.8566,
"lng": 2.3522
}
})
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
For more information: https://rubygems.org/gems/func_live