diff --git a/README.md b/README.md index d98a315..5dde8a4 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Run these commands in the directory you want to put the app and press enter duri ```console sudo apt-get update sudo apt-get install git -git clone https://github.com/zcqsntr/fintic --recursive +git clone https://github.com/fin-tic/fintic --recursive cd fintic ./setup.sh diff --git a/api_caller.py b/api_caller.py index 6faf337..3bdcd13 100644 --- a/api_caller.py +++ b/api_caller.py @@ -1,3 +1,10 @@ +# Copyright (C) 2020 Fintic, finticofficial@gmail.com +# +# This file is part of Fintic project, developed by Neythen Treloar and Justin Dunn +# +# This code can not be copied and/or distributed without the express +# permission of Fintic + import finnhub import time import csv @@ -138,8 +145,8 @@ def updateStockPricesFinhubb(): def updateStockPrices(): - iexAPIkey = 'pk_68ef6a15902c41f887f0b544a0ca17cf' #IEX - iexSandboxAPIkey = 'Tpk_0078dff413ef4f979137f7111452dc4b' + iexAPIkey = 'pk_d066d39789bd41caac209bca850a35db' #IEX + max_stocks = 200 symbols, stock_info = readCSV('csv/tickers.csv', max_stocks) try: @@ -259,7 +266,7 @@ def updateNews(): def updateWeather(): max_cities = 30 - api_key = 'bd5d5096a5ba30bbcfb57ead42ab3fee' + api_key = 'a9476947fa1a2f712076453bec4a0df5' try: gn = geocoders.GeoNames(username='fintic') @@ -334,7 +341,7 @@ def updateWeather(): def updateForex(): - api_key = '862dbb6d1101ce0c5136' + try: base = 'USD' yesterday = datetime.now() - timedelta(1) diff --git a/stockTicker.py b/stockTicker.py index 8b8ad4c..d3ee4a7 100644 --- a/stockTicker.py +++ b/stockTicker.py @@ -1,9 +1,9 @@ -# Copyright (C) 2020 Daniel Richardson richardson.daniel@hotmail.co.uk +# Copyright (C) 2020 Fintic, finticofficial@gmail.com # -# This file is part of stockTicker project for justinodunn. +# This file is part of Fintic project, developed by Neythen Treloar and Justin Dunn # # stockTicker can not be copied and/or distributed without the express -# permission of Daniel Richardson +# permission of Fintic import sys, select