fintic-tracker/test.py

27 lines
577 B
Python
Raw Normal View History

2021-04-27 18:29:14 +00:00
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
2021-05-14 12:02:22 +00:00
from pycoingecko import CoinGeckoAPI
2021-04-27 18:29:14 +00:00
if __name__ == '__main__':
2021-05-24 19:59:42 +00:00
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))
2021-04-27 18:59:25 +00:00