Skip to content

loic-roux-404/apple-numbers-pull-crypto

Repository files navigation

Number Pull cryptocurrency prices

Pull crypto prices from coinmarketcap in Mac os Apple Numbers

Tools used

  • jxa (javascript for automation)
  • Apple Numbers Objective C exposed library
  • creat-jxa-app

Usage

  • 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

Contribution

To debug :

npm run build && npm run run-script

or

npm run start &;
npm run run-script # on each edit