Read the statement by Michael Teeuw here.
Can anyone revive AviationWX, PilotWX, or TAF
-
I am in the process of becoming a pilot and I would love to have the information these modules offer at a glance instead of having to look it up every time.
I tried, with the help of AI to update the code as I believe they were using the request fuction which is deprecated. I even tried to create a module from scratch which right now is a failure lol.
I am not the best at coding but if I can get a mentor I will definitely help keep the module up and running
-
@FSAHD sure, you can use my sample module
at least it works.https://github.com/sdetweil/SampleModule
where is the data you want to show and what api might be available to get that data
-
From what I have been able to tell I have 2 options however, I think https://aviationweather.gov/data/api/#/Data/dataMetars is going to be the better source (the other one is avwx.rest which needs users to sign up and create a token to use). I can send you a token for avwx if you need.
FWIW I can also share the repository for the Module I was working on
-
@FSAHD is the problem just the use of request?
that can be fixed w very little code change -
@sdetweil that is what I believe it it, also what the AI helped me deduce.
I attempted to solve that but was unsuccessful. I believe that was the problem with all 3 modules I mentioned.
I tried using npm install request. that didnt work.
Then I attempted to update the code to use axios
-
@FSAHD OK, let me look at them
-
@FSAHD well every url changed, and all the data
changed. some has to be calculated (avg airport delay) or that info display deleted.too much work for me., given my avaliable time
-
@sdetweil I appreciate you looking into this. ill take some time and see wat I can do!
-
@FSAHD I got the metar to work, then the faa data is all different not by airport request. and all the variable names have changed too
don’t know if the data is different for display
and the data is xml
-
@sdetweil I know the airport delay item is last on the wish list.
I can take over and update variables and such. wherever you left off ill be happy to take over!