27 lines
577 B
Python
27 lines
577 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__':
|
|
coingecko_client = CoinGeckoAPI()
|
|
|
|
response = coingecko_client.get_coin_by_id(id='bitcoin')
|
|
#response = coingecko_client.get_ticker(ids='bitcoin', vs_currencies = 'usd', include_24hr_change=True)
|
|
print(response)
|
|
#print(dir( coingecko_client))
|
|
#print(dir( coingecko_client))
|
|
|
|
|
|
|