play4free2 wrote:Weather Underground has shutdown Classic Wunderground. Classic Wunderground will no longer be available after May 4, 2015.
Apparently lilyweather works (for now) as it gets info from the mobile site/page, but for how long who knowsJJTX wrote:If not, is there a good alternative that we can install?play4free2 wrote:Weather Underground has shutdown Classic Wunderground. Classic Wunderground will no longer be available after May 4, 2015.
I guess I'll wait and see what happens here with this.Hellster wrote:Apparently lilyweather works (for now) as it gets info from the mobile site/page, but for how long who knowsJJTX wrote:If not, is there a good alternative that we can install?play4free2 wrote:Weather Underground has shutdown Classic Wunderground. Classic Wunderground will no longer be available after May 4, 2015.
i set everything up but when i want to check weather i get this:DrJinglesMD wrote:New script utilizing some of inittab's code. Basically using OpenWeatherMap's API to get weather information and using Google's GeoLocation API to get accurate state + country names. Also is able to pull in the old saved locations via "-set ZIPCODE/CITY"
This script doesn't do everything that the old one did, but it;s a good start and it works for the time being.
Support is limited, feel free to fork and improve.
Instructions
# Required steps in short:
# 1. Go to the Google developers console https://console.developers.google.com
# 2. Create a new project. Give it a name like 'eggdrop', doesn't matter much.
# 3. When the project is loaded, select menu "APIs" under "APIs & auth"
# 4. In the list of APIs, enable the "YouTube Data API v3".
# 5. Select menu "Credentials" and click "Create new key".
# 6. Select key type "server".
# 7. Fill in the IP(s) or IP range from which the eggdrop bot will send
# requests to google's servers. This is a whitelist, if the request
# comes from a different IP, it will be rejected.
# Note: If my-ip or my-hostname is configured in eggdrop.conf, they should
# be entered here.
# 8. You now have an API KEY; copy it to the googleapikey variable in CONFIG SECTION
# OpenWeather configuration
# Goto http://openweathermap.org/
# Click Sign Up
# Fill in required boxes
# After sign op, login, and goto http://openweathermap.org/my
# Paate API KEy into apikey variable in CONFIG SECTION
https://github.com/patrick-hudson/EggDr ... eather.tcl
Code: Select all
[21:51:00] Tcl error [hackpatweather::getweather]: can't read "location": no such variable
There are people working on fixing this script. But Wunderground is not allowing exposed access to all their data. They are forcing javascript snippets which must be executed to expose the high/low and forecasts, as well as the "long conditions". Working on fixing it, without leaving anything out. This is just a drawn out process. Expect an update in the future very soon.<speechles> !wz uki
<sp33chy> speechles's weather request; Ukiah Municipal, California (39.12583160/-123.20083618); Local Time: 7:45 PM (May 07, 2015); Updated: 49 minutes ago; Conditions: clr; Temperature: 69°F (20.6°C); Feels-like: 69°F (20.6°C); High/Low: Unavailable; UV: 1/12; Humidity: 30%; Wind: Variable at 4 MPH (6 KPH)
No need to get testy here. We're all here to help. Since the main code in this thread has been updated I removed my code. You could have let those of us know you don't appreciate our help and I'm sure we would have gladly removed it without issue. Secondly maybe stop abusing Wunderground by scraping AKA stealing their data and instead use a real API that is made specifically for that? Don't blame WG because they are trying to protect their assets from people utilizing their service in a way they don't want. If you did that, then none of us would have come in here offering our help.speechles wrote:This thread is for incith-weather. Why is there other code here?
This thread isn't for randoms to post code, the place for that code would be the "Script HELP" or "Script REQUESTS" forum, or even YOUR OWN THREAD within "Script RELEASES". Such poor form show by people in this thread. Those (inittab & DrJinglesMD) who posted this stuff, please edit your posts and remove this code. The internet thanks you.
Btw...There are people working on fixing this script. But Wunderground is not allowing exposed access to all their data. They are forcing javascript snippets which must be executed to expose the high/low and forecasts, as well as the "long conditions". Working on fixing it, without leaving anything out. This is just a drawn out process. Expect an update in the future very soon.<speechles> !wz uki
<sp33chy> speechles's weather request; Ukiah Municipal, California (39.12583160/-123.20083618); Local Time: 7:45 PM (May 07, 2015); Updated: 49 minutes ago; Conditions: clr; Temperature: 69°F (20.6°C); Feels-like: 69°F (20.6°C); High/Low: Unavailable; UV: 1/12; Humidity: 30%; Wind: Variable at 4 MPH (6 KPH)