Hi, real newbie question, but I keep seeing pages where I need to have a subscription to FlightAware. Its this necessary for everyone? I just want to develop a few simple apps locally on my rPi, no real need to share the data I track, just getting some simple apps working.
Im just wondering if I need it, and what purpose it serves?
No you donât need a subscription (to run the FA software), but there are many other ways to setup a receiver if you specificity donât want to feed an aggregator.
If you are concerned about the cost, the subscription is free to feeders.
Thankyou so much Gecko!!
I was hoping in many ways to be able to get the feed, and parse information using python on my rPI and do a few other API calls with it, just wasnt sure if I had to do the subscription to be able to do that. I looked at another provider a year or so ago, and tried to, but they didnt want my feed as there were too many people doing the same from within the range, so I thought that was it.
Do you know of any examples etc of taking the feed from the receiver? Apologies so many questions, but thankyou for answering the original one
Awesome! Thanks foxhunter! Perfect.
If I can set GET requests to the URL, return responses, then query the data available and return additional aircraft resposnes that would be very cool if possible.
I am doing a similar thing. Getting the data from that json, convert it to CSV, remove duplicates within a certain period of time and push it to a SQLite DB.
For this i am using this script, slightly modified:
As this only contain the minimum information you will need to import a standings db which contain flight and aircraft information. This can be done combined via inner join.
Oh yes, I like that one Foxhunter. Thats quite nice example. Iâll try an repurpose that into a little realtime example, as thats what Im looking to accomplish, but as a solution (when I can get my basic bits working), this would come in very handy. Nice find, thanks!
Hey @foxhunter, Im hoping you can help me a little with the SQL code version. CSV is perfect.
Running the SQL gets this âŚ
Traceback (most recent call last):
File âflight_logger_sql.pyâ, line 74, in
df1 = pd.json_normalize(json_dump[âaircraftâ])
AttributeError: âmoduleâ object has no attribute âjson_normalizeâ
Ive updated my rPI, pip pandas shows
pi@raspberrypi:~ $ pip show pandas
Name: pandas
Version: 0.24.2
But pip3 show me thisâŚ
pi@raspberrypi:~ $ pip3 show pandas
Name: pandas
Version: 1.3.3
I know its probably something daftly simple Im missing, but if you could help it would be much appreciated.
And also no idea why this as its a completely new install of rPI OS.
pi@raspberrypi:~ $ python --version
Python 2.7.16
pi@raspberrypi:~ $ python3 --version
Python 3.7.3