const r2 = require('r2') let doJsonThing = async (path, propname) => { let res = await r2(`http://api.com${path}`).json return res[propname] }