From 53f65d6d3be6bafaa126c2ffb3c16eaf18859c59 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 17 Mar 2022 08:13:26 -0400 Subject: [PATCH] cleanup --- groundstation/tago-upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groundstation/tago-upload.py b/groundstation/tago-upload.py index 61ea06c9..dc4bba72 100644 --- a/groundstation/tago-upload.py +++ b/groundstation/tago-upload.py @@ -11,7 +11,7 @@ while (True): # telem_string = input() - telem_json = requests.get('https://api.aprs.fi/api/get?name=W3YP-11&what=loc&apikey=156390.XlXpKVPvnWcbNdn4&format=json', headers = {"User-Agent": "cubesatsim-aprs-tago-upload (+http://cubesatsim.org)"}).json() + telem_json = requests.get('https://api.aprs.fi/api/get?name=W3YP-11&what=loc&apikey=APIKEY&format=json', headers = {"User-Agent": "cubesatsim-aprs-tago-upload (+http://cubesatsim.org)"}).json() lat = float(telem_json['entries'][0]['lat']) lon = float(telem_json['entries'][0]['lng'])