Browse Source

grab all spot prices

master
Jeff Moe 10 months ago
parent
commit
edcccf4c97
  1. 12
      eqx-market-spot-prices

12
eqx-market-spot-prices

@ -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