add openweathermap api calls and send them to websocket

This commit is contained in:
StarAppeal
2024-11-25 18:06:47 +01:00
parent a6ba81b561
commit 28d21fbd94
7 changed files with 77 additions and 11 deletions
+12
View File
@@ -19,6 +19,7 @@
"express": "5.0.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.8.2",
"openweather-api-node": "^3.1.5",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"ws": "8.17.1"
@@ -1344,6 +1345,12 @@
"wrappy": "1"
}
},
"node_modules/openweather-api-node": {
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/openweather-api-node/-/openweather-api-node-3.1.5.tgz",
"integrity": "sha512-FGLE0bWOTvp4XHaswmzMfisYMMEtwEwOEJR0vaS07L31OUcutV/UUO5/vRuktkRPoqfk3KZOoqddsRTGTxT7Aw==",
"license": "MIT"
},
"node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
@@ -3008,6 +3015,11 @@
"wrappy": "1"
}
},
"openweather-api-node": {
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/openweather-api-node/-/openweather-api-node-3.1.5.tgz",
"integrity": "sha512-FGLE0bWOTvp4XHaswmzMfisYMMEtwEwOEJR0vaS07L31OUcutV/UUO5/vRuktkRPoqfk3KZOoqddsRTGTxT7Aw=="
},
"parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",