Pull Bitcoin price from Coinbase to a Google Sheet
- Open the Google Sheet
- Go to "Tools" > "Script editor..." > "New" > "Blank Project"
- Replace function with code here
- Change variables to the cell numbers where you want the price to show
- Go to "File" > "Rename" > "Enter new project name"
- Use a name like "coinbase"
- Go to "Edit" > "Current project's triggers" > "Add a new trigger"
- In "Events" make it "Time-driven" and select the hours/minutes for price to refresh
- Give script authorization to modify the Google Sheet
- Reload the script manager in the Sheet and you should see your "coinbase" script