grab all spot prices

master
Jeff Moe 4 years ago
parent bb5fa70b9c
commit edcccf4c97

@ -0,0 +1,12 @@
#!/bin/bash
# eqx-market-spot-price
EQXTOKEN=`cat ~/.packet-cli.json | jq ".token" --raw-output`
curl \
--silent \
-X GET \
--header 'Accept: application/json' \
--header "X-Auth-Token: ${EQXTOKEN}" \
'https://api.equinix.com/metal/v1/market/spot/prices'
Loading…
Cancel
Save