curl -s -H 'Authorization: Bearer <your API token>' \
'https://coda.io/apis/v1/docs/<doc ID>/formulas/<formula ID>' |
jq '"It will take " + (.value | tostring) + " hours to complete everything"'
# => "It will take 3 hours to complete everything"
{
"parent": {
"id": "canvas-IjkLmnO",
"href": "https://coda.io/apis/v1/docs/AbCDeFGH/pages/canvas-IjkLmnO",
"browserLink": "https://coda.io/d/_dAbCDeFGH/Launch-Status_sumnO",
"name": "Launch Status",
"type": "page"
},
"value": "$12.34",
"id": "f-fgHijkLm",
"href": "https://coda.io/apis/v1/docs/AbCDeFGH/formulas/f-fgHijkLm",
"name": "Sum of expenses",
"type": "formula"
}