discord-weather-report

A Node JS application that sends a weather report to a discord webhook.

2022-03-27 18_54_49-test - Discord

Getting Started

Requirements

Install Node.js on your device, create an webhook on your discord server and create an free account on https://openweathermap.org/ and generate an API Key.

Discord Webhook

2022-03-27 19_03_31-test - Discord

openweathermap

2022-03-27 19_00_15-Members – Opera

Clone project

Clone the project on your device and open the config.json. Put in the discord webhook (discord.com/api/webhooks/username/secret)your API Key, city name and the city id. You can find the citys on https://openweathermap.org and the id in the website url. Now you only need to choose an intervall how often the application sends the data to the webhook (e.g. 1.000 is one second and 3.600.000 is an hour). After that you can run the main.js with Node.js.

2022-03-27 19_13_09-Сurrent weather and forecast - OpenWeatherMap – Opera

2022-03-27 19_17_12-webscraper-discordwebhook – config json

Authors

  • AAWA-byt

License

This project is licensed under the MIT License – see the LICENSE.md file for details.

GitHub

View Github