parent
7bcaf1e4da
commit
9f44b39a1f
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ if not "WAPIKEY" in os.environ:
|
||||||
print("MeowNexUS requires the WAPIKEY environment variable for this command to function. get one from https://weatherapi.com/")
|
print("MeowNexUS requires the WAPIKEY environment variable for this command to function. get one from https://weatherapi.com/")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
query = requests.get("http://api.weatherapi.com/v1/current.json?key=" + os.environ["WAPIKEY"] + "&q=" + " ".join(sys.argv[3:])).json()
|
query = requests.get("http://api.weatherapi.com/v1/current.json?key=" + os.environ["WAPIKEY"] + "&q=" + " ".join(sys.argv[3:])).json()
|
||||||
weathers_global {
|
weathers_global = {
|
||||||
**dict.fromkeys([1063, 1150, 1153, 1180, 1183, 1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207, 1240, 1243, 1246, 1249, 1252], "🌧️"),
|
**dict.fromkeys([1063, 1150, 1153, 1180, 1183, 1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207, 1240, 1243, 1246, 1249, 1252], "🌧️"),
|
||||||
**dict.fromkeys([1066, 1069, 1072, 1114, 1210, 1213, 1216, 1219, 1222, 1225, 1255, 1258, 1237], "🌨️"),
|
**dict.fromkeys([1066, 1069, 1072, 1114, 1210, 1213, 1216, 1219, 1222, 1225, 1255, 1258, 1237], "🌨️"),
|
||||||
**dict.fromkeys([1030, 1135, 1147], "🌫️"),
|
**dict.fromkeys([1030, 1135, 1147], "🌫️"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue