added APRS.fi API

pull/145/head
alanbjohnston 4 years ago committed by GitHub
parent 3d010cc249
commit 14807e217c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,15 @@
import tago
import requests
while (True):
print("Input telemetry string (or Control-C to exit)")
telem_string = input()
# telem_string = input()
telem_string = requests.get('https://api.aprs.fi/api/get?name=W3YP-11&what=loc&apikey=APIKEY&format=json')
print(telem_string)
chunks = telem_string.split(' ')
@ -243,3 +248,5 @@ while (True):
}
result = my_device.insert(data)
print(result)
sleep(90)

Loading…
Cancel
Save

Powered by TurnKey Linux.