8 ms·
Nice. I have this as an alias in my ~/.zshrc: curl -s https://www.cutters.no/api/salons https://www.cutters.no/api/salons | jq '.data[] | select(.location.key
by fowlie 7y ago
Nice. I have this as an alias in my ~/.zshrc:
curl -s https://www.cutters.no/api/salons https://www.cutters.no/api/salons | jq '.data[] | select(.location.key == "oslo") | .details.estimatedWait /= 60000 | {name: .name, wait: .details.estimatedWait, serving: .details.numberOfServing, waiting: .details.numberOfWaiting}'