JSON data retrieval and parsing.
Posted: Sun Sep 04, 2016 11:59 pm
Okay, I'm sure this is a novice question that is covered somewhere else, so forgive a poor programming noob.
I am attempting to make a device which points at the ISS wherever it is by collecting the current coordinates from http://www.isstracker.com/3 , or from a json such as http://api.open-notify.org/iss-now.json , automatically and constantly and plugging them into a haversine equation to turn those coordinates into directions for my pointer. I have been trying for literally weeks now, and have made no progress. Any help greatly appreciated.
Followup question: ideally, I would like to get my own coordinates also. The device will be connected to the internet via an iphone 3g/wifi hotspot, and getting the coords of the phone. Can this also be done?
Thanks
I am attempting to make a device which points at the ISS wherever it is by collecting the current coordinates from http://www.isstracker.com/3 , or from a json such as http://api.open-notify.org/iss-now.json , automatically and constantly and plugging them into a haversine equation to turn those coordinates into directions for my pointer. I have been trying for literally weeks now, and have made no progress. Any help greatly appreciated.
Followup question: ideally, I would like to get my own coordinates also. The device will be connected to the internet via an iphone 3g/wifi hotspot, and getting the coords of the phone. Can this also be done?
Thanks