Alfred CoinMarketCap
Alfred workflow for quick currencies conversion using CoinMarketCap API.
Pre-Requisites
- The Deno runtime installed (
brew install deno
) - The CoinMarketCap API Key (the free plan should be more than enough)
Instalation
- Download the
CoinMarketCap.alfredworkflow
file found on the Releases page. - Double click on the file and adjust the environment variables with your details
API_KEY="YOUR_KEY" DEFAULT_CURRENCY="YOUR_USD"
- Press
Import
and your good to go.
How to use
cmc btc
- Convert 1 Bitcoin to the default currency. If no default currency was specifiedUSD
will be usedcmc btc eur
- Convert 1 Bitcoin to specified currency (Euro
in this case)cmc 1.5 btc eur
- Specify a specific amount to convert
For all the variants you can:
- Hit
↵
to copy the result to clipboard - Hold
⌘
key and hit↵
to open CoinMarketCap website on selected coin
Credits
This repo is a pawelgrzybek/alfred-cointmarketcap fork.