25 lines
417 B
Python
25 lines
417 B
Python
|
|
import sys
|
|
import os
|
|
import threading
|
|
from PIL import Image, ImageDraw, ImageFont
|
|
import time
|
|
import csv
|
|
|
|
from rgbmatrix import RGBMatrix, RGBMatrixOptions
|
|
from stockTicker import StockTicker
|
|
import finnhub
|
|
|
|
import pexpect
|
|
from pycoingecko import CoinGeckoAPI
|
|
|
|
if __name__ == '__main__':
|
|
|
|
cg = CoinGeckoAPI()
|
|
|
|
print(cg.get_price(ids='bitcoin, ethereum', vs_currencies = 'usd', include_24hr_change=True))
|
|
|
|
|
|
|
|
|