Script for loading data from https://coinmarketcap.com to google sheet.
How to set-up:
- Create new Google sheet file.
- Rename the sheet for data to cryptodata.
- Run Tools - Script editor...
- Insert the code from cmc.gs file.
- Change the line:
'X-CMC_PRO_API_KEY': 'INSERT-YOUR-FREE-API-KEY-HERE'
(get free API key here: https://coinmarketcap.com/api ) - Select
getCoinData
function and test run.
- Check your cryptodata sheet.
Use within your sheet by creating button with script.