I couldn't figure it out, but couldn't we use lookup_json_string to convert the id to a name?
I couldn't figure it out, but couldn't we use lookup_json_string to convert the id to a name?
substring(cf.ray_id, 17) get you most of the way there?MIA for my location.substring(cf.ray_id, 17) in {"MIA" "EWR"}



curl "https://colo.cloudflare.chaika.me/?iataregion" | jq '.results | to_entries | map(select(.value == "wnam")) | map(.key) | map("\"" + . + "\"") | join(" ")' -r
curl "https://colo.cloudflare.chaika.me/?iataregion" | jq '.results | to_entries | map(select(.value == "enam")) | map(.key) | map("\"" + . + "\"") | join(" ")' -r
curl "https://colo.cloudflare.chaika.me/?iataregion" | jq '.results | to_entries | map(select(.value == "weur")) | map(.key) | map("\"" + . + "\"") | join(" ")' -r
curl "https://colo.cloudflare.chaika.me/?iataregion" | jq '.results | to_entries | map(select(.value == "eeur")) | map(.key) | map("\"" + . + "\"") | join(" ")' -r
curl "https://colo.cloudflare.chaika.me/?iataregion" | jq '.results | to_entries | map(select(.value == "apac")) | map(.key) | map("\"" + . + "\"") | join(" ")' -r