Pull crypto prices from coinmarketcap in Mac os Apple Numbers
- jxa (javascript for automation)
- Apple Numbers Objective C exposed library
- creat-jxa-app
- name your sheet : 'pull-crypto-sheet'
- name table(s): 'pull-crypto-table'
- The table need to be of the form.
CMC coin symbol | price | last refresh |
---|---|---|
BNB | 0.00 | Date string |
You can also take the example from here : example Numbers file):
In a second part we need to run the jxa script
-
Grab the
.app
file in Github releases and put it in~/Applications
folder -
Or download the the js script in Github release and use it from cli :
osascript pull-cryptos-prices.js
npm run build && npm run run-script
or
npm run start &;
npm run run-script # on each edit