A working re-implementation of the weather module for Sopel
Project description
sopel-weather
sopel-weather is an weather lookup module for Sopel.
Since Yahoo deprecated their weather API on January 3, 2019, a reimplementation of the weather module was necessary
Usage
# Allows the user to set their current location
.setlocation london # Sets location by city name
.setlocation w2643743 # Sets location by WOEID (We are prepending w in front of WOEIDs because they collide with zips)
.setlocation 98101 # Sets location by zip code
# Gets a 24h forecast
.forecast # Only works if setlocation has been previously run
.forecast seattle, us
.forecast london
# Gets the current weather
.weather # Only works if setlocation has been previously run
.weather seattle, us
.weather london
Requirements
Ubuntu Requirements
apt install enchant
Python Requirements
requests
sopel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for sopel_modules.weather-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05c83e914a4cb8069627dc826b2cddf13e112ffe9fbd86c11857a43e9ee66535 |
|
MD5 | cc8f570ba3c247ce3edac9ffa56a9665 |
|
BLAKE2b-256 | 7803fa4a2067d31a9cb355954f4eafb2c7f667148550bd5e0844028b072799a3 |