ALShum / rwunderground

A simple R package to get historical and forecast weather data
78 stars 14 forks source link

End of Service for WU API #45

Open philiporlando opened 5 years ago

philiporlando commented 5 years ago

Weather Underground API's End of Service Announcement

It seems like the only way to access WU data moving forward is through The Weather Company's API :-1:.

Do you plan to update the rwunderground package to accommodate for this shift?

erichare commented 5 years ago

Hi Philip,

We have no plans at this time, but as time permits we would love to... we depend on this data too so its a pretty big shame they're shutting it down. If you were interested in helping out please let us know... main issue right now is a lack of people involved.

inchga commented 4 years ago

Do you plan on updating rwunderground? I have to use my stations weather data in R and am a bit lost without rwunderground..

ALShum commented 4 years ago

Are there particular end points that need to be updated? I’ll be glad to take a look if you can help point out the things that should be updated 😀

On Sat, Jul 4, 2020 at 3:50 AM inchga notifications@github.com wrote:

Do you plan on updating rwunderground? I have to use my stations weather data in R and am a bit lost without rwunderground..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ALShum/rwunderground/issues/45#issuecomment-653750850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZUECCJPWJRCUVYRYR3PZ3RZ4CRDANCNFSM4FZ2LTJQ .

inchga commented 4 years ago

Thank you! That would be great! I think it might be due to the fact that wunderground has changed the API structures? E.g. the only forecast available is 5 days now. No matter what I try, I always receive 503 error message.

> weather_data<-history(set_location(PWS_id = my_weather_station), date = "20200701")
Error in wunderground_request(request_type = "history", location = location,  : 
  Service Unavailable (HTTP 503)

Or maybe I am doing something wrong?

Are there particular end points that need to be updated? I’ll be glad to take a look if you can help point out the things that should be updated 😀 … On Sat, Jul 4, 2020 at 3:50 AM inchga @.***> wrote: Do you plan on updating rwunderground? I have to use my stations weather data in R and am a bit lost without rwunderground.. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#45 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZUECCJPWJRCUVYRYR3PZ3RZ4CRDANCNFSM4FZ2LTJQ .

jhanarato commented 3 years ago

G'day,

I'm new to R, but this python API seems to work fine:

WUndergroundPWS-API

Perhaps that might help.

Karlheinzniebuhr commented 3 years ago

You might want to look into this for historical weather data from Wunderground The Weather Scraper

marine-ecologist commented 2 years ago

Thank you! That would be great! I think it might be due to the fact that wunderground has changed the API structures? E.g. the only forecast available is 5 days now. No matter what I try, I always receive 503 error message.

> weather_data<-history(set_location(PWS_id = my_weather_station), date = "20200701")
Error in wunderground_request(request_type = "history", location = location,  : 
  Service Unavailable (HTTP 503)

Or maybe I am doing something wrong?

Are there particular end points that need to be updated? I’ll be glad to take a look if you can help point out the things that should be updated 😀 … On Sat, Jul 4, 2020 at 3:50 AM inchga @.***> wrote: Do you plan on updating rwunderground? I have to use my stations weather data in R and am a bit lost without rwunderground.. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#45 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZUECCJPWJRCUVYRYR3PZ3RZ4CRDANCNFSM4FZ2LTJQ .

+1 for this. rwunderground was fantastic for pulling historical weather data into R. I've registered a new API key with rwunderground, but get the same response when accessing historical data:

history_daily(set_location(PWS_id="XXXX"), date = "20220228", use_metric = TRUE, key = "5cada823ef8e4f39ada843ef8e4f312d", raw = FALSE, message = TRUE)

@ALShum if there's anything I can do to help get the functions back online, please let me know!

Boris-Droz commented 1 year ago

Hi all, does someone figure out at the end "how to get data from WU"? I was so nice to get data a few years ago. I tried a couple of thing in R but always get the 503 error. I also tried the python script that jhanarato tell us, but I get : wunderground_pws.exceptions.BadRequestError: [{'error': {'code': 'CDN-0001', 'message': 'Invalid apiKey.'}}] I pretty new with python so I don't know what is the problem. Thank you for any tips or idea